tests: baseparse: fix buffer leak in unit test

Fixes make check-valgrind
This commit is contained in:
Tim-Philipp Müller 2015-07-30 12:17:16 +01:00
parent 48ab4f6fe2
commit 27fff1e0d6

View file

@ -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;