libcamera/test/libtest
Laurent Pinchart e638ffde53 libcamera: v4l2_device: Return a unique pointer from fromEntityName()
The fromEntityName() function returns a pointer to a newly allocated
V4L2Device instance, which must be deleted by the caller. This opens the
door to memory leaks. Return a unique pointer instead, which conveys the
API semantics better than a sentence in the documentation.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
2020-12-09 11:26:25 +02:00
..
buffer_source.cpp libcamera: v4l2_device: Return a unique pointer from fromEntityName() 2020-12-09 11:26:25 +02:00
buffer_source.h test: Include specific headers instead of libcamera.h 2020-09-21 13:50:42 +03:00
camera_test.cpp test: Extract CameraTest class out of camera tests to libtest 2019-11-20 21:47:20 +02:00
camera_test.h test: Include specific headers instead of libcamera.h 2020-09-21 13:50:42 +03:00
meson.build libcamera: Move internal headers to include/libcamera/internal/ 2020-05-16 03:38:11 +03:00
test.cpp tests: remove IPA_PROXY_PATH environment variable 2020-03-18 16:17:56 +00:00
test.h meson: Remove -Wno-unused-parameter 2020-08-25 02:58:04 +03:00