glupload: fix GValue leak
https://bugzilla.gnome.org/show_bug.cgi?id=779869
This commit is contained in:
parent
424dd98bda
commit
04f8c7d729
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user