summaryrefslogtreecommitdiff
path: root/test/controls/control_info.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-08-04 00:09:14 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-08-05 19:29:03 +0300
commit57396a0e3f08a5cd1ea6f48c66f3decdfeaa7dfd (patch)
tree14c68a31bdf901753b069d9cff9ad1d1a82b670d /test/controls/control_info.cpp
parent46275401e6e68c750e5fa4cce77731ee0fd35172 (diff)
libcamera: software_isp: Replace malloc() with std::vector<>
libcamera is implemented in C++, use std::vector<> to manage the dynamically allocated line buffers instead of malloc() and free(). This simplifies the code and improves memory safety by ensuring no allocation will be leaked. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Milan Zamazal <mzamazal@redhat.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Tested-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'test/controls/control_info.cpp')
0 files changed, 0 insertions, 0 deletions