glupload: fix GValue leak

https://bugzilla.gnome.org/show_bug.cgi?id=779869
This commit is contained in:
Vincent Penquerc'h 2017-03-10 16:57:51 +00:00
parent 424dd98bda
commit 04f8c7d729

View file

@ -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;
}