summaryrefslogtreecommitdiff
path: root/test/serialization/serialization_test.h
diff options
context:
space:
mode:
authorHirokazu Honda <hiroh@chromium.org>2021-04-03 22:57:34 +0900
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-04-20 05:59:08 +0300
commitd40430116b1b65d8deeeeea106368e20d8534a03 (patch)
tree02e20a38f4307f7f701b7d6ead58fa168f238937 /test/serialization/serialization_test.h
parent0b661d70ec62d69ffd4ea7bb0aeb92d7ad12b8d3 (diff)
android: CameraDevice: Fix Camera3RequestDescriptor leakage
CameraDevice creates Camera3RequestDescriptor in processCaptureRequest() and disallocates in requestComplete(). Camera3RequestDescriptor can never be destroyed if requestComplete() is never called. This avoid the memory leakage by storing them in map CameraRequestDescriptor. Signed-off-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/serialization/serialization_test.h')
0 files changed, 0 insertions, 0 deletions