diff --git a/ChangeLog b/ChangeLog index 26bd804da5..62175d1aa4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-09-27 Tim-Philipp Müller + + * check/gst/gstbuffer.c: (test_make_writable): + Plug leak in test case and fix 'make check-valgrind' + 2005-09-27 Tim-Philipp Müller * gst/gstbuffer.c: (gst_subbuffer_init): diff --git a/check/gst/gstbuffer.c b/check/gst/gstbuffer.c index 4d4d2c1dcc..24611b40f1 100644 --- a/check/gst/gstbuffer.c +++ b/check/gst/gstbuffer.c @@ -240,6 +240,7 @@ GST_START_TEST (test_make_writable) buf2 = gst_buffer_make_writable (buf); fail_unless (buf != buf2, "_make_writable() should have returned a copy!"); gst_buffer_unref (buf2); + gst_buffer_unref (buf); } GST_END_TEST; diff --git a/tests/check/gst/gstbuffer.c b/tests/check/gst/gstbuffer.c index 4d4d2c1dcc..24611b40f1 100644 --- a/tests/check/gst/gstbuffer.c +++ b/tests/check/gst/gstbuffer.c @@ -240,6 +240,7 @@ GST_START_TEST (test_make_writable) buf2 = gst_buffer_make_writable (buf); fail_unless (buf != buf2, "_make_writable() should have returned a copy!"); gst_buffer_unref (buf2); + gst_buffer_unref (buf); } GST_END_TEST;