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 13f52713b12af79f50204935afaf7fcee99f1b02..068119e76c9dc44659d445e1057c70ed3421c656 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;
       }