Commit 27fff1e0 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠
Browse files

tests: baseparse: fix buffer leak in unit test

Fixes make check-valgrind
parent 48ab4f6f
......@@ -353,6 +353,7 @@ _sink_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
gst_util_uint64_scale_round (GST_SECOND, TEST_VIDEO_FPS_D,
TEST_VIDEO_FPS_N));
gst_buffer_unmap (buffer, &map);
gst_buffer_unref (buffer);
buffer_count++;
have_data = TRUE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment