summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/md_parser.hpp
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-25 21:35:03 +0100
commite590ca3004b354588f45facab7989b59cf9d9309 (patch)
tree986e3d7ec74d5987af41d56abc99e9f261f50b12 /src/ipa/raspberrypi/md_parser.hpp
parentd2783171dd9d25f7441bd5317fb2623c8f4b4d84 (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 'src/ipa/raspberrypi/md_parser.hpp')
0 files changed, 0 insertions, 0 deletions