[libcamera-devel] [PATCH 0/2] test: gstreamer: cleanup and memory leak fixes

Umang Jain umang.jain at ideasonboard.com
Tue Sep 14 14:16:58 CEST 2021


Simplify the use of g_autoptr in gstreamer tests.
Also fix memory leaks due to it.

---
Vedant can you please take a look at it and test on platforms you have?
I have tested on my primary machine with vimc and UVC with gstreamer
enabled and the test passes fine still.

Also, please let me know your thoughts on the patches.
---

Umang Jain (2):
  test: gstreamer: Simplify elements' ownerships
  test: gstreamer_single_stream_test: Fix memory leak

 .../gstreamer_single_stream_test.cpp          | 20 +++++++++++--------
 test/gstreamer/gstreamer_test.cpp             |  9 ++++-----
 2 files changed, 16 insertions(+), 13 deletions(-)

-- 
2.31.1



More information about the libcamera-devel mailing list