Commit 8d834912 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix potential memleak (CID 198)

parent 1497a8a8
......@@ -506,7 +506,10 @@ void input_ExtractAttachmentAndCacheArt( input_thread_t *p_input )
psz_title = p_item->psz_name;
if( (!psz_artist || !psz_album ) && !psz_title )
{
free( psz_type );
return;
}
ArtCacheGetDirPath( p_input, psz_filename, psz_title, psz_artist, psz_album );
ArtCacheCreateDir( psz_filename );
......
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