diff options
author | Barnabás Pőcze <pobrn@protonmail.com> | 2024-03-10 14:30:43 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2024-03-12 10:09:56 +0000 |
commit | 2e2ba223f3a249f1c04fe88c2709ca6e7d42c242 (patch) | |
tree | d2cc7ff08f1b7c1a52ae9daf8e94d5129cbbcd44 /test/v4l2_compat | |
parent | ab5816a5406c3e269a0a5449f682cc3be6a50a1b (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 'test/v4l2_compat')
0 files changed, 0 insertions, 0 deletions