[gst-cvs] gst-plugins-good: matroskademux: Fix leaking of the Matroska TITLE element

Sebastian Dröge slomo at kemper.freedesktop.org
Tue Jun 16 22:14:46 PDT 2009


Module: gst-plugins-good
Branch: master
Commit: fc9779bd860399464bffdf7a238e9e421472417a
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=fc9779bd860399464bffdf7a238e9e421472417a

Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date:   Wed Jun 17 07:14:09 2009 +0200

matroskademux: Fix leaking of the Matroska TITLE element

---

 gst/matroska/matroska-demux.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c
index 13f5271..068119e 100644
--- a/gst/matroska/matroska-demux.c
+++ b/gst/matroska/matroska-demux.c
@@ -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;
       }
 





More information about the Gstreamer-commits mailing list