mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
avfdeviceprovider: Fix caps leak
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6966>
This commit is contained in:
parent
7e3f9df9a5
commit
df23724b96
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));
|
||||
|
||||
gst_structure_free (props);
|
||||
gst_caps_unref (caps);
|
||||
}
|
||||
|
||||
result = g_list_reverse (result);
|
||||
|
|
Loading…
Reference in a new issue