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

Message ID 20210914121700.122591-1-umang.jain@ideasonboard.com
Headers show
Series
  • test: gstreamer: cleanup and memory leak fixes
Related show

Message

Umang Jain Sept. 14, 2021, 12:16 p.m. UTC
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(-)