libcamera/Documentation/guides
Kieran Bingham e590ca3004 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>
2021-08-25 21:35:03 +01:00
..
application-developer.rst Documentation: application-developer: Recommend unique_ptr for CameraManager 2021-08-25 21:35:03 +01:00
introduction.rst Documentation: Fix typos and wrong rST syntax for literals 2021-03-19 01:51:57 +02:00
ipa.rst libcamera: Rename 'method' to 'function' 2021-08-09 15:40:32 +03:00
pipeline-handler.rst Documentation: guides: pipeline-handler: Migrate to Camera::Private 2021-08-17 00:24:16 +03:00
tracing.rst Documentation: tracing: Add tracing guide 2020-11-03 11:35:16 +09:00