Commit cf454ca7 authored by Vineeth TM's avatar Vineeth TM Committed by Tim-Philipp Müller

xvimagesink: fix pad memory leak

pad is not being freed when xwindow is not created
parent 9efa9dfc
......@@ -1128,6 +1128,7 @@ gst_xv_image_sink_navigation_send_event (GstNavigation * navigation,
if (!(xwindow = xvimagesink->xwindow)) {
g_mutex_unlock (&xvimagesink->flow_lock);
gst_object_unref (peer);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment