glimagesink: unref the window on navigation event

plugs a memory leak
This commit is contained in:
Matthew Waters 2014-08-19 14:23:21 +10:00
parent 52257fe538
commit c6706adfcc

View 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