Commit dfd11aa0 authored by dilaroga's avatar dilaroga Committed by Jean-Baptiste Kempf
Browse files

macosx: fixes a memory leak.


Signed-off-by: Jean-Baptiste Kempf's 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