summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2017-03-10 16:57:51 +0000
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2017-03-13 09:27:41 +0000
commit04f8c7d7296aa278bd33e52db335c077a8a53d2a (patch)
treed88847d86186e13f873a580673eb973340d15526 /gst-libs
parent424dd98bdae61a3e162060d05281859455bfce90 (diff)
downloadgstreamer-plugins-bad-04f8c7d7296aa278bd33e52db335c077a8a53d2a.tar.gz
glupload: fix GValue leak
https://bugzilla.gnome.org/show_bug.cgi?id=779869
Diffstat (limited to 'gst-libs')
-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 f94ddf4b0..0ff969e90 100644
--- a/gst-libs/gst/gl/gstglupload.c
+++ b/gst-libs/gst/gl/gstglupload.c
@@ -178,6 +178,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;
}