mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
tests: baseparse: fix buffer leak in unit test
Fixes make check-valgrind
This commit is contained in:
parent
48ab4f6fe2
commit
27fff1e0d6
1 changed files with 1 additions and 0 deletions
|
@ -353,6 +353,7 @@ _sink_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
|
||||||
gst_util_uint64_scale_round (GST_SECOND, TEST_VIDEO_FPS_D,
|
gst_util_uint64_scale_round (GST_SECOND, TEST_VIDEO_FPS_D,
|
||||||
TEST_VIDEO_FPS_N));
|
TEST_VIDEO_FPS_N));
|
||||||
gst_buffer_unmap (buffer, &map);
|
gst_buffer_unmap (buffer, &map);
|
||||||
|
gst_buffer_unref (buffer);
|
||||||
buffer_count++;
|
buffer_count++;
|
||||||
|
|
||||||
have_data = TRUE;
|
have_data = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue