summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorVineeth TM <vineeth.tm@samsung.com>2015-07-07 09:31:01 +0900
committerTim-Philipp Müller <tim@centricular.com>2015-07-07 09:28:12 +0100
commitcf454ca71358ca6f7d412488d98e27dd31d1bb18 (patch)
tree57c19b712d888ee690435083d420402e32640603 /sys
parent9efa9dfcc86889212712090d97b54c7364134d91 (diff)
downloadgst-plugins-base-cf454ca71358ca6f7d412488d98e27dd31d1bb18.tar.gz
gst-plugins-base-cf454ca71358ca6f7d412488d98e27dd31d1bb18.tar.xz
xvimagesink: fix pad memory leak
pad is not being freed when xwindow is not created https://bugzilla.gnome.org/show_bug.cgi?id=752042
Diffstat (limited to 'sys')
-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 6c94725e0..80b452bb9 100644
--- a/sys/xvimage/xvimagesink.c
+++ b/sys/xvimage/xvimagesink.c
@@ -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;
}