Commit 8441c5dd authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

addons: fsstorage: Fix leak whe nlisting installed addons

refs #18321
parent 5af1a4ff
......@@ -218,7 +218,10 @@ static int ListSkins( addons_finder_t *p_finder )
break;
if ( FileBelongsToManagedAddon( p_finder, ADDON_SKIN2, psz_file ) )
{
free( psz_file );
continue;
}
char *psz_uri;
if( asprintf( &psz_uri, "file://%s/%s#!/theme.xml", psz_dir, psz_file ) >= 0)
......
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