mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 04:41:16 +00:00
unref our test buffers
Original commit message from CVS: unref our test buffers
This commit is contained in:
parent
06c7f2231b
commit
d186bc1644
2 changed files with 4 additions and 0 deletions
|
@ -335,6 +335,7 @@ GST_START_TEST (test_push_linked)
|
|||
fail_unless_equals_int (g_list_length (buffers), 1);
|
||||
buffer = GST_BUFFER (buffers->data);
|
||||
ASSERT_MINI_OBJECT_REFCOUNT (buffer, "buffer", 1);
|
||||
gst_buffer_unref (buffer);
|
||||
g_list_free (buffers);
|
||||
buffers = NULL;
|
||||
|
||||
|
@ -363,6 +364,7 @@ GST_START_TEST (test_push_linked)
|
|||
fail_unless_equals_int (g_list_length (buffers), 1);
|
||||
buffer = GST_BUFFER (buffers->data);
|
||||
ASSERT_MINI_OBJECT_REFCOUNT (buffer, "buffer", 1);
|
||||
gst_buffer_unref (buffer);
|
||||
g_list_free (buffers);
|
||||
buffers = NULL;
|
||||
|
||||
|
|
|
@ -335,6 +335,7 @@ GST_START_TEST (test_push_linked)
|
|||
fail_unless_equals_int (g_list_length (buffers), 1);
|
||||
buffer = GST_BUFFER (buffers->data);
|
||||
ASSERT_MINI_OBJECT_REFCOUNT (buffer, "buffer", 1);
|
||||
gst_buffer_unref (buffer);
|
||||
g_list_free (buffers);
|
||||
buffers = NULL;
|
||||
|
||||
|
@ -363,6 +364,7 @@ GST_START_TEST (test_push_linked)
|
|||
fail_unless_equals_int (g_list_length (buffers), 1);
|
||||
buffer = GST_BUFFER (buffers->data);
|
||||
ASSERT_MINI_OBJECT_REFCOUNT (buffer, "buffer", 1);
|
||||
gst_buffer_unref (buffer);
|
||||
g_list_free (buffers);
|
||||
buffers = NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue