summaryrefslogtreecommitdiff
path: root/src/qcam/assets/feathericons/arrow-down.svg
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-06-15 03:11:30 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-06-28 07:02:44 +0300
commit7532caa2c77b966afde643d5550dff6e404e7208 (patch)
treee0b72c4573faeb6a50d0284d9a4988f2379af61a /src/qcam/assets/feathericons/arrow-down.svg
parentc11cc6f20b4f701afaa24416be2b711e2415d79d (diff)
android: camera_device: Reset config_ if Camera::configure() fails
The config_ pointer is reset in all error paths of the CameraDevice::configureStreams() function, except when Camera::configure() fails. Fix it by using a local unique pointer to store the configuration until the end of the function, to avoid similar issues in the future. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'src/qcam/assets/feathericons/arrow-down.svg')
0 files changed, 0 insertions, 0 deletions