diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-03-04 21:51:50 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-03-05 15:20:50 +0000 |
commit | 7401f5002e54dbb2f0c405d00082c4461150aea8 (patch) | |
tree | 5dde2660fa3c7fe535407e1ba632cc06368f9f64 /test/signal.cpp | |
parent | cbdc4b9ad3807d31e2942690beb9cae18091ad89 (diff) |
libcamera: camera: Unmap buffers before release
Buffers must have all mappings destroyed before buffers can be freed by the
V4L2 device that has allocated them.
Swap the ordering of freeBuffers() and destroyBuffers() to correct this.
Fixes: bd38112b7795 ("libcamera: camera: Extend the interface to support capture")
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/signal.cpp')
0 files changed, 0 insertions, 0 deletions