Commit 7d1cb339 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

check/gst/gstbuffer.c: Plug leak in test case and fix 'make check-valgrind'

Original commit message from CVS:
* check/gst/gstbuffer.c: (test_make_writable):
Plug leak in test case and fix 'make check-valgrind'
parent 246fee25
2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
* check/gst/gstbuffer.c: (test_make_writable):
Plug leak in test case and fix 'make check-valgrind'
2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstbuffer.c: (gst_subbuffer_init):
......
......@@ -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;
......
......@@ -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;
......
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