glimagesink: unref the window on navigation event
authorMatthew Waters <ystreet00@gmail.com>
Tue, 19 Aug 2014 04:23:21 +0000 (14:23 +1000)
committerMatthew Waters <ystreet00@gmail.com>
Tue, 19 Aug 2014 04:24:02 +0000 (14:24 +1000)
plugs a memory leak

ext/gl/gstglimagesink.c

index 165c892..b4c81c5 100644 (file)
@@ -225,6 +225,7 @@ gst_glimage_sink_navigation_send_event (GstNavigation * navigation, GstStructure
     gst_pad_send_event (pad, event);
 
   gst_object_unref (pad);
+  gst_object_unref (window);
 }
 
 static void