gst-plugins-base: oggstream: fix tag list leak

Vincent Penquerc'h vincent at kemper.freedesktop.org
Tue Jan 10 08:59:44 PST 2012


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

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