summaryrefslogtreecommitdiff
path: root/ext/gl
diff options
context:
space:
mode:
authorVineeth TM <vineeth.tm@samsung.com>2016-03-09 11:58:43 +0900
committerSebastian Dröge <sebastian@centricular.com>2016-03-09 08:57:16 +0200
commit1f32d6aff71b5183626a85e6c761a1db1c6ee07c (patch)
treed13bfb66c54dc3adffaa586509ab558e6d084ce2 /ext/gl
parent215c9eb71aa6afde477e0300c79102a2f4da2e0b (diff)
downloadgstreamer-plugins-bad-1f32d6aff71b5183626a85e6c761a1db1c6ee07c.tar.gz
glimagesink: Fix window memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=763356
Diffstat (limited to 'ext/gl')
-rw-r--r--ext/gl/gstglimagesink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/gl/gstglimagesink.c b/ext/gl/gstglimagesink.c
index 922880111..3b5e3b50b 100644
--- a/ext/gl/gstglimagesink.c
+++ b/ext/gl/gstglimagesink.c
@@ -2139,6 +2139,7 @@ gst_glimage_sink_redisplay (GstGLImageSink * gl_sink)
if (gl_sink->next_buffer == NULL) {
/* Nothing to display yet */
GST_GLIMAGE_SINK_UNLOCK (gl_sink);
+ gst_object_unref (window);
return TRUE;
}