summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBarnabás Pőcze <pobrn@protonmail.com>2024-03-10 14:30:43 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2024-03-12 10:09:56 +0000
commit2e2ba223f3a249f1c04fe88c2709ca6e7d42c242 (patch)
treed2cc7ff08f1b7c1a52ae9daf8e94d5129cbbcd44 /include
parentab5816a5406c3e269a0a5449f682cc3be6a50a1b (diff)
libcamera: framebuffer_allocator: Remove entry if allocation fails
Remove the entry from the `buffers_` mapping if `Camera::exportFrameBuffers()` fails, otherwise there would be a stale entry in the map. Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions