osxvideo: Fix leak of NSOpenGLPixelFormat object

https://bugzilla.gnome.org/show_bug.cgi?id=667818
This commit is contained in:
Stig Sandnes 2011-10-04 10:00:02 +02:00 committed by Tim-Philipp Müller
parent 150403ab13
commit ffe010ee4d

View file

@ -128,6 +128,7 @@
} }
self = [super initWithFrame: frame pixelFormat:fmt]; self = [super initWithFrame: frame pixelFormat:fmt];
[fmt release];
actualContext = [self openGLContext]; actualContext = [self openGLContext];
[actualContext makeCurrentContext]; [actualContext makeCurrentContext];