summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJan Schmidt <jan@centricular.com>2016-01-20 18:20:43 +1100
committerJan Schmidt <jan@centricular.com>2016-01-20 18:23:37 +1100
commitd34910bf3065e3b04d095444e17fdbab3696261f (patch)
tree0fbcdaafa98f8c2fb856c28392941d134035e36a /sys
parent496137854b49ef49db979277017042d81ebf4bc7 (diff)
downloadgstreamer-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.c1
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);