[0.10] gst-plugins-base: oggstream: fix tag list leak

Tim Müller tpm at kemper.freedesktop.org
Thu Jan 12 09:48:35 PST 2012


Module: gst-plugins-base
Branch: 0.10
Commit: 42476e44667f7a77e618bbb10988128011287cc3
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=42476e44667f7a77e618bbb10988128011287cc3

Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Tue Jan 10 16:57:04 2012 +0000

oggstream: fix tag list leak

---

 ext/ogg/gstoggstream.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ext/ogg/gstoggstream.c b/ext/ogg/gstoggstream.c
index 96cd581..7d0b39d 100644
--- a/ext/ogg/gstoggstream.c
+++ b/ext/ogg/gstoggstream.c
@@ -1844,6 +1844,7 @@ extract_tags_kate (GstOggStream * pad, ogg_packet * packet)
       /* ensure the comment packet cannot override the category/language
          from the identification header */
       gst_tag_list_insert (pad->taglist, list, GST_TAG_MERGE_KEEP_ALL);
+      gst_tag_list_free (list);
     } else
       pad->taglist = list;
   }



More information about the gstreamer-commits mailing list