summaryrefslogtreecommitdiff
path: root/gst-libs/gst
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2015-03-03 16:55:26 +0100
committerEdward Hervey <bilboed@bilboed.com>2015-03-03 17:36:06 +0100
commit4220fe41be9970ae7a2b5490141b682bb98c53c3 (patch)
tree67f8da8f048fe0bff4c6262df389fbdcfa06c836 /gst-libs/gst
parente3418a963a37cbd279d457f8394d986ac74b053c (diff)
downloadgstreamer-plugins-bad-4220fe41be9970ae7a2b5490141b682bb98c53c3.tar.gz
gl: Fix context leaks
Introduced by a12ca13750a15300ab3c718ebde2984dc3d587b3
Diffstat (limited to 'gst-libs/gst')
-rw-r--r--gst-libs/gst/gl/gstglwindow.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/gstglwindow.c b/gst-libs/gst/gl/gstglwindow.c
index a42e30a23..984033a41 100644
--- a/gst-libs/gst/gl/gstglwindow.c
+++ b/gst-libs/gst/gl/gstglwindow.c
@@ -305,6 +305,8 @@ _set_window_handle_cb (GstSetWindowHandleCb * data)
gst_gl_context_activate (context, FALSE);
window_class->set_window_handle (data->window, data->handle);
gst_gl_context_activate (context, TRUE);
+
+ gst_object_unref (context);
}
static void