glimagesink: unref the window on navigation event
plugs a memory leak
This commit is contained in:
parent
15cd3d3d5c
commit
beb9b95d39
@ -225,6 +225,7 @@ gst_glimage_sink_navigation_send_event (GstNavigation * navigation, GstStructure
|
|||||||
gst_pad_send_event (pad, event);
|
gst_pad_send_event (pad, event);
|
||||||
|
|
||||||
gst_object_unref (pad);
|
gst_object_unref (pad);
|
||||||
|
gst_object_unref (window);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user