summaryrefslogtreecommitdiff
path: root/test/flags.cpp
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2022-10-28 14:51:10 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2022-10-28 15:27:23 +0100
commit30d704732badc675f72fe73d14749669cb645c23 (patch)
tree5d4e023b0cebd2f506d52a1813c179509e07d20f /test/flags.cpp
parenta2bdff6d0b67475492ac7cf9318866b6d89a28fd (diff)
pipeline: raspberrypi: Do not unconditionally free buffers on close
When a camera is terminated, do not unconditionally free buffers in the RPiCameraData destructor. Otherwise, this causes harmless error log messages to be displayed if no buffer have previously been allocated. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Tested-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'test/flags.cpp')
0 files changed, 0 insertions, 0 deletions