summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorMatthew Waters <ystreet00@gmail.com>2013-09-20 11:55:36 +1000
committerMatthew Waters <ystreet00@gmail.com>2014-03-15 18:37:02 +0100
commitd10ccfb795d21ee7a12625098d10c6f9fe216308 (patch)
treeb7ba26241ac09f9ced4cdcfe90b527091becae83 /gst
parent888c66d855e2b5f777b9e7fbcd04268dd25c53d2 (diff)
downloadgstreamer-plugins-bad-d10ccfb795d21ee7a12625098d10c6f9fe216308.tar.gz
[815/906] fix some refcount errors
Diffstat (limited to 'gst')
-rw-r--r--gst/gl/gstglimagesink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/gl/gstglimagesink.c b/gst/gl/gstglimagesink.c
index 6036c5ab5..186af5d44 100644
--- a/gst/gl/gstglimagesink.c
+++ b/gst/gl/gstglimagesink.c
@@ -464,6 +464,7 @@ gst_glimage_sink_change_state (GstElement * element, GstStateChange transition)
glimage_sink->display = NULL;
}
gst_object_unref (glimage_sink->context);
+ gst_object_unref (window);
return GST_STATE_CHANGE_FAILURE;
}