From 605ded52927528bada4a79844ca8d2316aae98eb Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Tue, 31 Mar 2009 17:16:04 +0300 Subject: [PATCH] matroska: don't leak serialized values when writing tags --- gst/matroska/matroska-mux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c index bc5af3d..87ad477 100644 --- a/gst/matroska/matroska-mux.c +++ b/gst/matroska/matroska-mux.c @@ -1846,6 +1846,7 @@ gst_matroska_mux_write_simple_tag (const GstTagList * list, const gchar * tag, gst_ebml_write_ascii (ebml, GST_MATROSKA_ID_TAGNAME, tagname_mkv); gst_ebml_write_utf8 (ebml, GST_MATROSKA_ID_TAGSTRING, dest); gst_ebml_write_master_finish (ebml, simpletag_master); + g_free (dest); } else { GST_WARNING ("Can't transform tag '%s' to string", tagname_mkv); } -- 2.7.4