gst/tags/gstvorbistag.c: fix memleak

Original commit message from CVS:
* gst/tags/gstvorbistag.c: (gst_tag_to_vorbis_comments):
fix memleak
This commit is contained in:
Benjamin Otte 2004-10-31 16:26:01 +00:00
parent 109d3f572a
commit 7f1398eb26
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2004-10-31 Benjamin Otte <otte@gnome.org>
* gst/tags/gstvorbistag.c: (gst_tag_to_vorbis_comments):
fix memleak
2004-10-31 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):

View file

@ -468,6 +468,7 @@ gst_tag_to_vorbis_comments (const GstTagList * list, const gchar * tag)
if (!gst_tag_list_get_string_index (list, tag, i, &str))
g_assert_not_reached ();
result = g_strdup_printf ("%s=%s", vorbis_tag, str);
g_free (str);
break;
}
case G_TYPE_DOUBLE:{