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 committed by Tim-Philipp Müller
parent e7bf6689bb
commit b71e104d00

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