summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2017-03-10 16:57:51 +0000
committerMatthew Waters <matthew@centricular.com>2017-04-28 18:18:46 +1000
commit0899d4570264f0ed4233ef5bbcfb566513f17413 (patch)
tree18e3037cfde65ac60eaa66157f98d0499641c7c3
parent90c04fa17b2c378973bf52a6bcec6ecadcd39a31 (diff)
downloadgstreamer-plugins-bad-0899d4570264f0ed4233ef5bbcfb566513f17413.tar.gz
glupload: fix GValue leak
https://bugzilla.gnome.org/show_bug.cgi?id=779869
-rw-r--r--gst-libs/gst/gl/gstglupload.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/gstglupload.c b/gst-libs/gst/gl/gstglupload.c
index 48491d672..8038c5a38 100644
--- a/gst-libs/gst/gl/gstglupload.c
+++ b/gst-libs/gst/gl/gstglupload.c
@@ -172,6 +172,7 @@ _caps_intersect_texture_target (GstCaps * caps, GstGLTextureTarget target_mask)
ret = gst_caps_intersect_full (caps, target, GST_CAPS_INTERSECT_FIRST);
+ g_value_unset (&targets);
gst_caps_unref (target);
return ret;
}