projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48ab4f6
)
tests: baseparse: fix buffer leak in unit test
author
Tim-Philipp Müller
<tim@centricular.com>
Thu, 30 Jul 2015 11:17:16 +0000
(12:17 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Thu, 30 Jul 2015 11:17:44 +0000
(12:17 +0100)
Fixes make check-valgrind
tests/check/libs/baseparse.c
patch
|
blob
|
history
diff --git
a/tests/check/libs/baseparse.c
b/tests/check/libs/baseparse.c
index
a5b8910
..
8113e30
100644
(file)
--- a/
tests/check/libs/baseparse.c
+++ b/
tests/check/libs/baseparse.c
@@
-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;