From 04f8c7d7296aa278bd33e52db335c077a8a53d2a Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Fri, 10 Mar 2017 16:57:51 +0000 Subject: [PATCH] glupload: fix GValue leak https://bugzilla.gnome.org/show_bug.cgi?id=779869 --- gst-libs/gst/gl/gstglupload.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-libs/gst/gl/gstglupload.c b/gst-libs/gst/gl/gstglupload.c index f94ddf4b07..0ff969e908 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; }