summaryrefslogtreecommitdiff
path: root/test/media_device/media_device_acquire.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-07-05 07:19:00 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-07-22 17:13:44 +0300
commit24ca846a27d3b5f3e371dcd039df6ee74dd113c1 (patch)
tree8bd492fe96b28048ce13070547b4d5b2ea0d37db /test/media_device/media_device_acquire.cpp
parent4cd0f586fbc7bc8451bd18aaa3b59fbd8d53574e (diff)
cam: camera_session: Use std::unique_ptr<> to manage class members
Store the BufferWriter and FrameBufferAllocator pointers in std::unique_ptr<> instances to simplify memory management and avoid leaks. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/media_device/media_device_acquire.cpp')
0 files changed, 0 insertions, 0 deletions