From 4bec88ea28d936aac69cc8db2925b57f7edac3d5 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Fri, 20 Sep 2013 11:55:36 +1000 Subject: [PATCH] [815/906] fix some refcount errors --- gst-libs/gst/gl/gstglcontext.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst-libs/gst/gl/gstglcontext.c b/gst-libs/gst/gl/gstglcontext.c index d6837fe..ae89168 100644 --- a/gst-libs/gst/gl/gstglcontext.c +++ b/gst-libs/gst/gl/gstglcontext.c @@ -94,6 +94,8 @@ _ensure_window (GstGLContext * context) window = gst_gl_window_new (context->priv->display); gst_gl_context_set_window (context, window); + + gst_object_unref (window); } static void -- 2.7.4