From: Sebastian Dröge Date: Sun, 19 Dec 2010 11:12:25 +0000 (+0100) Subject: tagschecking: Fix some more memory leaks X-Git-Tag: RELEASE-0.10.29~99 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a59a7100bdee8994e502c3ad5c7036d90749c87;p=platform%2Fupstream%2Fgst-plugins-good.git tagschecking: Fix some more memory leaks --- diff --git a/tests/check/pipelines/tagschecking.c b/tests/check/pipelines/tagschecking.c index ed17c3f1a..91a556c52 100644 --- a/tests/check/pipelines/tagschecking.c +++ b/tests/check/pipelines/tagschecking.c @@ -114,6 +114,7 @@ test_mux_tags (const gchar * tag_str, const gchar * caps, sent_tags = gst_structure_from_string (tag_str, NULL); fail_unless (sent_tags != NULL); gst_tag_setter_merge_tags (setter, sent_tags, GST_TAG_MERGE_REPLACE); + gst_tag_list_free (sent_tags); gst_element_set_state (pipeline, GST_STATE_PLAYING); g_main_loop_run (loop); @@ -246,6 +247,7 @@ test_tags (const gchar * tag_str, const gchar * caps, const gchar * muxer, GST_DEBUG ("testing tags : %s", tag_str); test_mux_tags (tag_str, caps, muxer, tmpfile); test_demux_tags (tag_str, demuxer, tmpfile); + g_free (tmpfile); } #define H264_CAPS "video/x-h264, width=(int)320, height=(int)240," \