summaryrefslogtreecommitdiff
path: root/test/v4l2_device/capture_async.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-04-17 00:37:40 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-04-18 18:13:15 +0300
commitd97cafdf3c60afb75fa38d8b2f17b816c934ad9d (patch)
tree6b38e0f7384c6eef31eebc60f7f6ac732a994fa6 /test/v4l2_device/capture_async.cpp
parent889b70d62d1b2fa974951866cb8bbebe66fce3a7 (diff)
libcamera: v4l2_subdevice: Close subdevice when destroyed
Make sure the subdevice file descriptor isn't leaked by closing it when the V4L2Subdevice instance is destroyed. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/v4l2_device/capture_async.cpp')
0 files changed, 0 insertions, 0 deletions