projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4961378
)
v4l2: Don't free props structure twice.
author
Jan Schmidt
<jan@centricular.com>
Wed, 20 Jan 2016 07:20:43 +0000
(18:20 +1100)
committer
Jan Schmidt
<jan@centricular.com>
Wed, 20 Jan 2016 07:23:37 +0000
(18:23 +1100)
gst_v4l2_device_provider_probe_device() frees the passed props
structure, don't free it again in the caller.
sys/v4l2/gstv4l2deviceprovider.c
patch
|
blob
|
history
diff --git
a/sys/v4l2/gstv4l2deviceprovider.c
b/sys/v4l2/gstv4l2deviceprovider.c
index
399bc13
..
e606f84
100644
(file)
--- 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);