diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-07-05 07:19:00 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-07-22 17:13:44 +0300 |
commit | 24ca846a27d3b5f3e371dcd039df6ee74dd113c1 (patch) | |
tree | 8bd492fe96b28048ce13070547b4d5b2ea0d37db /test/camera-sensor.cpp | |
parent | 4cd0f586fbc7bc8451bd18aaa3b59fbd8d53574e (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/camera-sensor.cpp')
0 files changed, 0 insertions, 0 deletions