summaryrefslogtreecommitdiff
path: root/gst-libs/gst
diff options
context:
space:
mode:
authorMiguel Angel Cabrera Moya <madmac2501@gmail.com>2012-10-28 20:01:17 +0100
committerTim-Philipp Müller <tim@centricular.net>2012-10-28 20:16:06 +0000
commit51c4e51d9c3895b669e8bcfdba238aa6dc1dbad1 (patch)
tree904f30cad33eb8afed31983fe252cef460bfc600 /gst-libs/gst
parent973f4f09ea86c70dd57e9276691fa8fe899adcca (diff)
vorbistag: fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=687057
Diffstat (limited to 'gst-libs/gst')
-rw-r--r--gst-libs/gst/tag/gstvorbistag.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/tag/gstvorbistag.c b/gst-libs/gst/tag/gstvorbistag.c
index 29e4b966b..99574fbc8 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);