mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
xvimagesink: fix pad memory leak
pad is not being freed when xwindow is not created https://bugzilla.gnome.org/show_bug.cgi?id=752042
This commit is contained in:
parent
9efa9dfcc8
commit
cf454ca713
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue