compare_buffer_to_data (outbuffer, data_h1, sizeof (data_h1));
gst_buffer_unref (outbuffer);
gst_buffer_unref (gst_harness_pull (h));
+
+ gst_harness_teardown (h);
}
GST_END_TEST;
if (gst_tag_list_get_tag_size (tags, GST_TAG_TITLE) > 0) {
gst_tag_list_get_string_index (tags, GST_TAG_TITLE, 0, &title);
fail_unless (memcmp (info->data + *index, title, strlen (title)) == 0);
+ g_free (title);
}
*index += len;
fail_unless (gst_tag_list_get_tag_size (tags, tag_type) > 0);
gst_tag_list_get_string_index (tags, tag_type, 0, &cur_tag_string);
fail_unless (g_strcmp0 (cur_tag_string, tag_string) == 0);
+ g_free (cur_tag_string);
}
static void
gst_toc_unref (ref_toc);
gst_buffer_unmap (merged_buffer, &info);
+ gst_buffer_unref (merged_buffer);
gst_harness_teardown (h);
}