From fd218c4ec2fb6b231257ea82b6bb23b9b776d505 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Wed, 24 Aug 2011 17:39:11 +0100 Subject: [PATCH] oggmux: fix leaks in skeleton writing https://bugzilla.gnome.org/show_bug.cgi?id=563251 --- ext/ogg/gstoggmux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c index c80c63bd5b..f95402af35 100644 --- a/ext/ogg/gstoggmux.c +++ b/ext/ogg/gstoggmux.c @@ -1232,9 +1232,10 @@ gst_ogg_mux_add_fisbone_message_header_from_tags (GstOggMux * mux, g_string_append (s, ", "); gst_tag_list_get_string_index (tags, tag, n, &tmp); g_string_append (s, tmp); + g_free (tmp); } gst_ogg_mux_add_fisbone_message_header (mux, bw, header, s->str); - g_string_free (s, FALSE); + g_string_free (s, TRUE); } /* This is a basic placeholder to generate roles for the tracks.