summaryrefslogtreecommitdiff
path: root/sys/xvimage/xvimagesink.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/xvimage/xvimagesink.c')
-rw-r--r--sys/xvimage/xvimagesink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c
index 1f8729ee2..c48037ed9 100644
--- a/sys/xvimage/xvimagesink.c
+++ b/sys/xvimage/xvimagesink.c
@@ -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;
}