diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m index c78e19ea445aaa3153dcd12cf3a0d57ef22ea929..72dfc678404cc9e021c69f2fc5e0e6e2e7064b1a 100644 --- a/modules/gui/macosx/MainWindow.m +++ b/modules/gui/macosx/MainWindow.m @@ -1397,12 +1397,13 @@ static VLCMainWindow *_o_sharedInstance = nil; [NSValue valueWithRect:args->frame], NSViewAnimationEndFrameKey, nil]; NSViewAnimation * anim = [[NSViewAnimation alloc] initWithViewAnimations:[NSArray arrayWithObject:dict]]; - [dict release]; [anim setAnimationBlockingMode: NSAnimationNonblocking]; [anim setDuration: 0.4]; [anim setFrameRate: 30]; [anim startAnimation]; + + [anim release]; } else { [super setFrame:args->frame display:args->display animate:args->animate];