diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-07-28 09:13:54 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-08-25 21:35:03 +0100 |
commit | e590ca3004b354588f45facab7989b59cf9d9309 (patch) | |
tree | 986e3d7ec74d5987af41d56abc99e9f261f50b12 /Documentation/theme/static/css | |
parent | d2783171dd9d25f7441bd5317fb2623c8f4b4d84 (diff) |
Documentation: application-developer: Recommend unique_ptr for CameraManager
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.
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'Documentation/theme/static/css')
0 files changed, 0 insertions, 0 deletions