vorbistag: fix memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=687057
This commit is contained in:
parent
973f4f09ea
commit
51c4e51d9c
@ -474,6 +474,7 @@ gst_tag_list_from_vorbiscomment (const guint8 * data, gsize size,
|
|||||||
}
|
}
|
||||||
/* we'll just ignore COVERARTMIME and typefind the image data */
|
/* we'll just ignore COVERARTMIME and typefind the image data */
|
||||||
if (g_ascii_strcasecmp (cur, "COVERARTMIME") == 0) {
|
if (g_ascii_strcasecmp (cur, "COVERARTMIME") == 0) {
|
||||||
|
g_free (cur);
|
||||||
continue;
|
continue;
|
||||||
} else if (g_ascii_strcasecmp (cur, "COVERART") == 0) {
|
} else if (g_ascii_strcasecmp (cur, "COVERART") == 0) {
|
||||||
gst_vorbis_tag_add_coverart (list, value, value_len);
|
gst_vorbis_tag_add_coverart (list, value, value_len);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user