Commit 12a36253 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

vout_macosx: Fix a leak.

parent 47f729b3
......@@ -342,6 +342,8 @@ static void OpenglSwap(vout_opengl_t *gl)
return nil;
self = [super initWithFrame:NSMakeRect(0,0,10,10) pixelFormat:fmt];
[fmt release];
if (!self)
return nil;
......
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