oggmux: fix leaks in skeleton writing

https://bugzilla.gnome.org/show_bug.cgi?id=563251
This commit is contained in:
Vincent Penquerc'h 2011-08-24 17:39:11 +01:00 committed by Sebastian Dröge
parent 29038283bc
commit fd218c4ec2

View file

@ -1232,9 +1232,10 @@ gst_ogg_mux_add_fisbone_message_header_from_tags (GstOggMux * mux,
g_string_append (s, ", "); g_string_append (s, ", ");
gst_tag_list_get_string_index (tags, tag, n, &tmp); gst_tag_list_get_string_index (tags, tag, n, &tmp);
g_string_append (s, tmp); g_string_append (s, tmp);
g_free (tmp);
} }
gst_ogg_mux_add_fisbone_message_header (mux, bw, header, s->str); 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. /* This is a basic placeholder to generate roles for the tracks.