summaryrefslogtreecommitdiff
path: root/utils/ipc/mojo
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-04-11 20:12:40 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-04-12 22:16:56 +0300
commit05b80226010bef5d296ed8331a0582a6e045a4ae (patch)
tree85feaa29f9fc331852c50199fe0cd275066f3151 /utils/ipc/mojo
parent9b2544d3df481bc9dd0795fb645b544ba6484216 (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/mojo')
0 files changed, 0 insertions, 0 deletions