vorbistag: fix memory leak

https://bugzilla.gnome.org/show_bug.cgi?id=687057
This commit is contained in:
Miguel Angel Cabrera Moya 2012-10-28 20:01:17 +01:00 committed by Tim-Philipp Müller
parent 973f4f09ea
commit 51c4e51d9c

View file

@ -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);