mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
v4l2: Don't free props structure twice.
gst_v4l2_device_provider_probe_device() frees the passed props structure, don't free it again in the caller.
This commit is contained in:
parent
496137854b
commit
d34910bf30
1 changed files with 0 additions and 1 deletions
|
@ -198,7 +198,6 @@ gst_v4l2_device_provider_probe (GstDeviceProvider * provider)
|
|||
it->device_path, "udev-probed", G_TYPE_BOOLEAN, FALSE, NULL);
|
||||
device = gst_v4l2_device_provider_probe_device (self, it->device_path, NULL,
|
||||
props);
|
||||
gst_structure_free (props);
|
||||
|
||||
if (device) {
|
||||
gst_object_ref_sink (device);
|
||||
|
|
Loading…
Reference in a new issue