mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
xvimagesink/ximagesink: Fix structure memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=758204
This commit is contained in:
parent
09c881ee14
commit
5f79ccb420
2 changed files with 2 additions and 0 deletions
|
@ -1541,6 +1541,7 @@ gst_x_image_sink_navigation_send_event (GstNavigation * navigation,
|
|||
|
||||
if (!ximagesink->xwindow) {
|
||||
g_mutex_unlock (&ximagesink->flow_lock);
|
||||
gst_structure_free (structure);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -1126,6 +1126,7 @@ gst_xv_image_sink_navigation_send_event (GstNavigation * navigation,
|
|||
|
||||
if (!(xwindow = xvimagesink->xwindow)) {
|
||||
g_mutex_unlock (&xvimagesink->flow_lock);
|
||||
gst_structure_free (structure);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue