Commit d4c7ef27 authored by Rémi Duraffort's avatar Rémi Duraffort Committed by Rémi Denis-Courmont

Qt4: fix memleak when album arts.

parent ab982586
......@@ -643,7 +643,10 @@ const QString InputManager::decodeArtURL( input_item_t *p_item )
/* Taglib seems to define a attachment://, It won't work yet */
url = url.replace( "attachment://", "" );
#endif
return qfu( psz_art ? psz_art : "" );
QString path = qfu( psz_art ? psz_art : "" );
free( psz_art );
return path;
}
void InputManager::UpdateArt()
......
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