diff options
author | Tomi Valkeinen <tomi.valkeinen@iki.fi> | 2020-10-07 12:22:39 +0300 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-10-12 16:13:57 +0100 |
commit | 265daf6e595a390acaf1bc76207366ad774b7f6c (patch) | |
tree | 9286a4c91d41e1bcc82fe4a14dc192345f362e88 /test/v4l2_subdevice/v4l2_subdevice_test.cpp | |
parent | 503d61fc83d8c3875c1bd75a6ff11a77970ee764 (diff) |
vimc: fix close(-1)
~IPAVimc() checks if fd != 0, but it should check if fd != -1.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/v4l2_subdevice/v4l2_subdevice_test.cpp')
0 files changed, 0 insertions, 0 deletions