mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
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:
parent
109d3f572a
commit
7f1398eb26
2 changed files with 6 additions and 0 deletions
|
@ -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>
|
2004-10-31 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
|
* ext/ogg/gstoggdemux.c: (gst_ogg_pad_push):
|
||||||
|
|
|
@ -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))
|
if (!gst_tag_list_get_string_index (list, tag, i, &str))
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
result = g_strdup_printf ("%s=%s", vorbis_tag, str);
|
result = g_strdup_printf ("%s=%s", vorbis_tag, str);
|
||||||
|
g_free (str);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case G_TYPE_DOUBLE:{
|
case G_TYPE_DOUBLE:{
|
||||||
|
|
Loading…
Reference in a new issue