[815/906] fix some refcount errors
authorMatthew Waters <ystreet00@gmail.com>
Fri, 20 Sep 2013 01:55:36 +0000 (11:55 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:31 +0000 (19:31 +0000)
gst-libs/gst/gl/gstglcontext.c

index d6837fe..ae89168 100644 (file)
@@ -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