summaryrefslogtreecommitdiff
path: root/utils/ipc/generators/libcamera_templates/proxy_functions.tmpl
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2021-07-28 09:13:54 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-08-05 08:53:59 +0100
commit9b4990a249985d4f8238c808036d9d6b7cf81362 (patch)
tree70862299656df3e0db106255099f23ef800af8ed /utils/ipc/generators/libcamera_templates/proxy_functions.tmpl
parent55775494fef449faadbb1a57bca245bc8e482725 (diff)
Documentation: application-developer: Recommend unique_ptr for CameraManagerdev
The CameraManager object should be deleted when it is no longer used to prevent it from leaking. When the application closes, the memory will be released, but it would show up in reports from memory validation tools such as valgrind if not handled correctly. Recommend best-practices in the guide and ensure it is automatically cleaned up when the CameraManager goes out of scope. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'utils/ipc/generators/libcamera_templates/proxy_functions.tmpl')
0 files changed, 0 insertions, 0 deletions