mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 23:58:17 +00:00
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'
This commit is contained in:
parent
246fee258f
commit
7d1cb339da
3 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue