Commit d34910bf authored by Jan Schmidt's avatar Jan Schmidt
Browse files

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.
parent 49613785
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment