diff options
author | Jan Schmidt <jan@centricular.com> | 2016-01-20 18:20:43 +1100 |
---|---|---|
committer | Jan Schmidt <jan@centricular.com> | 2016-01-20 18:23:37 +1100 |
commit | d34910bf3065e3b04d095444e17fdbab3696261f (patch) | |
tree | 0fbcdaafa98f8c2fb856c28392941d134035e36a /sys | |
parent | 496137854b49ef49db979277017042d81ebf4bc7 (diff) | |
download | gstreamer-plugins-good-d34910bf3065e3b04d095444e17fdbab3696261f.tar.gz |
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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/v4l2/gstv4l2deviceprovider.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/v4l2/gstv4l2deviceprovider.c b/sys/v4l2/gstv4l2deviceprovider.c index 399bc1363..e606f846b 100644 --- a/sys/v4l2/gstv4l2deviceprovider.c +++ b/sys/v4l2/gstv4l2deviceprovider.c @@ -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); |