diff options
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBHUDView.m | 1 | ||||
-rw-r--r-- | macosx/HBVideoController.m | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/macosx/HBHUDView.m b/macosx/HBHUDView.m index 769c5ba99..e7414ae57 100644 --- a/macosx/HBHUDView.m +++ b/macosx/HBHUDView.m @@ -64,6 +64,7 @@ if (NSClassFromString(@"NSVisualEffectView")) { // Return a NSVisualEffectView instance + [self release]; self = [[NSClassFromString(@"NSVisualEffectView") alloc] initWithFrame:frame]; if (self) { diff --git a/macosx/HBVideoController.m b/macosx/HBVideoController.m index 57720172f..5f73b566a 100644 --- a/macosx/HBVideoController.m +++ b/macosx/HBVideoController.m @@ -1038,6 +1038,7 @@ NSString *HBVideoEncoderChangedNotification = @"HBVideoEncoderChangedNotificatio fMediumPresetIndex = i; } } + [fPresetNames autorelease]; fPresetNames = [[NSArray alloc] initWithArray:tmp_array]; [tmp_array release]; // setup the preset slider |