Commit dfd11aa0 authored by Sebastien Zwickert's avatar Sebastien Zwickert Committed by Jean-Baptiste Kempf

macosx: fixes a memory leak.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 6c3405e7
......@@ -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];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment