Commit 18a676c9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

taglib: fix memory leak

parent 21f36843
......@@ -598,6 +598,7 @@ static void ReadMetaFromXiph( Ogg::XiphComment* tag, demux_meta_t* p_demux_meta,
/* TODO: Use i_cover_score / i_cover_idx to select the picture. */
p_attachment = ParseFlacPicture( p_data, i_data, 0,
&i_cover_score, &i_cover_idx );
free( p_data );
}
if (p_attachment) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment