From 51c4e51d9c3895b669e8bcfdba238aa6dc1dbad1 Mon Sep 17 00:00:00 2001 From: Miguel Angel Cabrera Moya Date: Sun, 28 Oct 2012 20:01:17 +0100 Subject: [PATCH] vorbistag: fix memory leak https://bugzilla.gnome.org/show_bug.cgi?id=687057 --- gst-libs/gst/tag/gstvorbistag.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst-libs/gst/tag/gstvorbistag.c b/gst-libs/gst/tag/gstvorbistag.c index 29e4b966b4..99574fbc81 100644 --- a/gst-libs/gst/tag/gstvorbistag.c +++ b/gst-libs/gst/tag/gstvorbistag.c @@ -474,6 +474,7 @@ gst_tag_list_from_vorbiscomment (const guint8 * data, gsize size, } /* we'll just ignore COVERARTMIME and typefind the image data */ if (g_ascii_strcasecmp (cur, "COVERARTMIME") == 0) { + g_free (cur); continue; } else if (g_ascii_strcasecmp (cur, "COVERART") == 0) { gst_vorbis_tag_add_coverart (list, value, value_len);