diff options
author | Barnabás Pőcze <pobrn@protonmail.com> | 2023-04-15 21:03:40 +0000 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2023-04-18 10:41:51 +0300 |
commit | f99b0f7f8f51e13618b4aededf1564af803d28da (patch) | |
tree | 89905161153c6e12e8168595f4eefbfd121fd141 /src/apps/qcam/assets/feathericons/clipboard.svg | |
parent | 98fc381c68a372b78260b2940411a64ea9e5011c (diff) |
libcamera: device_enumerator_udev: Remove devnum from dependency map
Previously, after `addV4L2Device()` had seen all dependecies, it would
remove the `MediaDeviceDeps` object from the `pending_` list, which
would result in it being destroyed. However, there would still be
(dangling) pointers to this object in `devMap_` that were added in
`addUdevDevice()` (line 103). So remove the entry with the given devnum
when it is removed from the corresponding `MediaDeviceDeps` object.
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/apps/qcam/assets/feathericons/clipboard.svg')
0 files changed, 0 insertions, 0 deletions