matroskademux: Fix leaking of the Matroska TITLE element
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 17 Jun 2009 05:14:09 +0000 (07:14 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 17 Jun 2009 05:14:09 +0000 (07:14 +0200)
gst/matroska/matroska-demux.c

index 13f5271..068119e 100644 (file)
@@ -2809,6 +2809,7 @@ gst_matroska_demux_parse_info (GstMatroskaDemux * demux)
         gst_tag_list_add (taglist, GST_TAG_MERGE_APPEND, GST_TAG_TITLE, text,
             NULL);
         gst_element_found_tags (GST_ELEMENT (ebml), taglist);
+        g_free (text);
         break;
       }