diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-04-11 20:12:40 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-04-12 22:16:56 +0300 |
commit | 05b80226010bef5d296ed8331a0582a6e045a4ae (patch) | |
tree | 85feaa29f9fc331852c50199fe0cd275066f3151 /utils/ipc/generators/libcamera_templates/meson.build | |
parent | 9b2544d3df481bc9dd0795fb645b544ba6484216 (diff) |
test: threads: Fix memory leak
The last instance of Thread allocated in the test is never deleted, nor
are other instances deleted in error paths. Use a std::unique_ptr<> to
ensure deletion.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Tested-by: Sebastian Fricke <sebastian.fricke@posteo.net>
Diffstat (limited to 'utils/ipc/generators/libcamera_templates/meson.build')
0 files changed, 0 insertions, 0 deletions