mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 08:25:33 +00:00
avfdeviceprovider: Fix caps leak
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7577>
This commit is contained in:
parent
9edd02d4e1
commit
451bdb901e
1 changed files with 1 additions and 0 deletions
|
@ -115,6 +115,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
|
||||||
result = g_list_prepend (result, gst_object_ref_sink (gst_device));
|
result = g_list_prepend (result, gst_object_ref_sink (gst_device));
|
||||||
|
|
||||||
gst_structure_free (props);
|
gst_structure_free (props);
|
||||||
|
gst_caps_unref (caps);
|
||||||
}
|
}
|
||||||
|
|
||||||
result = g_list_reverse (result);
|
result = g_list_reverse (result);
|
||||||
|
|
Loading…
Reference in a new issue