diff options
author | ritsuka <[email protected]> | 2007-09-11 13:30:19 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2007-09-11 13:30:19 +0000 |
commit | ba95beda3b2a3ab8454f7d57d2fe3bc03100fbbc (patch) | |
tree | 06432279b727167499aa115fef6a536416345394 /macosx/PictureController.mm | |
parent | c1ae112c3cc509fbd1e3a0453f9b7afcf8157723 (diff) |
MacGui: Fixed a memory leak in picturecontroller.mm added in #936
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@948 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/PictureController.mm')
-rw-r--r-- | macosx/PictureController.mm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/macosx/PictureController.mm b/macosx/PictureController.mm index f8aec43ff..424e8e967 100644 --- a/macosx/PictureController.mm +++ b/macosx/PictureController.mm @@ -23,6 +23,7 @@ static int GetAlignedSize( int size ) if (self = [super init]) { delegate = del; + [self loadMyNibFile]; } return self; } @@ -400,8 +401,6 @@ static int GetAlignedSize( int size ) } - (void) showPanelInWindow: (NSWindow *) fWindow forTitle:(hb_title_t *)title { - [self loadMyNibFile]; - NSSize newSize; newSize.width = 246 + title->width; newSize.height = 80 + title->height; |