osxvideo: Fix leak of NSOpenGLPixelFormat object
authorStig Sandnes <stigsand@cisco.com>
Tue, 4 Oct 2011 08:00:02 +0000 (10:00 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 13 Jan 2012 10:14:34 +0000 (10:14 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=667818

sys/osxvideo/cocoawindow.m

index 0a256ac..ed24fad 100644 (file)
   }
 
   self = [super initWithFrame: frame pixelFormat:fmt];
+  [fmt release];
 
    actualContext = [self openGLContext];
    [actualContext makeCurrentContext];