diff options
author | ritsuka <[email protected]> | 2008-07-16 09:36:29 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2008-07-16 09:36:29 +0000 |
commit | a90edee5a1097a797da9c226064d00c3d15fd2c0 (patch) | |
tree | 0b7ea69655ffd567fdd8fa6ad6a00590b9096b81 /macosx/HBPreferencesController.m | |
parent | b0f073282438ec2e89ec99b62a1fee8e849109f2 (diff) |
MacGui: FIx a memory leak.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1571 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBPreferencesController.m')
-rw-r--r-- | macosx/HBPreferencesController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBPreferencesController.m b/macosx/HBPreferencesController.m index 70b3ac4c0..47ddf1e45 100644 --- a/macosx/HBPreferencesController.m +++ b/macosx/HBPreferencesController.m @@ -69,7 +69,7 @@ - (void) awakeFromNib { - NSToolbar * toolbar = [[NSToolbar alloc] initWithIdentifier: @"Preferences Toolbar"]; + NSToolbar * toolbar = [[[NSToolbar alloc] initWithIdentifier: @"Preferences Toolbar"] autorelease]; [toolbar setDelegate: self]; [toolbar setAllowsUserCustomization: NO]; [toolbar setDisplayMode: NSToolbarDisplayModeIconAndLabel]; |