mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
caps: fix caps feature leak
Fixes leaks in 14 core unit tests including gst/gstcaps.
This commit is contained in:
parent
bda406c42f
commit
cf69475aeb
1 changed files with 1 additions and 1 deletions
|
@ -838,7 +838,7 @@ gst_caps_get_features (const GstCaps * caps, guint index)
|
|||
|
||||
features = gst_caps_get_features_unchecked (caps, index);
|
||||
if (!features)
|
||||
features = gst_caps_features_copy (GST_CAPS_FEATURES_MEMORY_SYSTEM_MEMORY);
|
||||
features = GST_CAPS_FEATURES_MEMORY_SYSTEM_MEMORY;
|
||||
|
||||
return features;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue