Commit 0d39e289 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

tests: fix invalid free and buffer list leak in rtp library unit test

parent 19db1e76
......@@ -477,7 +477,6 @@ GST_START_TEST (test_rtp_buffer_list_set_extension)
misc_data, 2) == TRUE);
gst_buffer_list_iterator_free (it);
gst_buffer_list_iterator_free (it);
it = gst_buffer_list_iterate (list);
fail_unless (gst_buffer_list_iterator_next_group (it));
buf = gst_buffer_list_iterator_next (it);
......@@ -540,6 +539,8 @@ GST_START_TEST (test_rtp_buffer_list_set_extension)
&appbits, 5, 0, &pointer, &size) == TRUE);
fail_unless (size == 2);
fail_unless (memcmp (pointer, misc_data, 2) == 0);
gst_buffer_list_unref (list);
}
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