[0.11] gst-plugins-good: osxvideo: Fix leak of NSOpenGLPixelFormat object

Sebastian Dröge slomo at kemper.freedesktop.org
Wed Jan 25 03:50:03 PST 2012


Module: gst-plugins-good
Branch: 0.11
Commit: ffe010ee4d813e15ec3994ae39210a33d72aa256
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=ffe010ee4d813e15ec3994ae39210a33d72aa256

Author: Stig Sandnes <stigsand at cisco.com>
Date:   Tue Oct  4 10:00:02 2011 +0200

osxvideo: Fix leak of NSOpenGLPixelFormat object

https://bugzilla.gnome.org/show_bug.cgi?id=667818

---

 sys/osxvideo/cocoawindow.m |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sys/osxvideo/cocoawindow.m b/sys/osxvideo/cocoawindow.m
index 0a256ac..ed24fad 100644
--- a/sys/osxvideo/cocoawindow.m
+++ b/sys/osxvideo/cocoawindow.m
@@ -128,6 +128,7 @@
   }
 
   self = [super initWithFrame: frame pixelFormat:fmt];
+  [fmt release];
 
    actualContext = [self openGLContext];
    [actualContext makeCurrentContext];



More information about the gstreamer-commits mailing list