Commit 293500f1 authored by Rémi Duraffort's avatar Rémi Duraffort Committed by Derk-Jan Hartman

Fix potential memleak (CID 198)

(cherry picked from commit 8d834912)
parent f786616f
......@@ -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