mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
gui/themes.cpp: fix memleak in scandir
This commit is contained in:
@@ -134,6 +134,7 @@ void CThemes::readThemes(CMenuWidget &themes)
|
||||
oj = new CMenuForwarderNonLocalized((char*)file, true, "", this, file);
|
||||
themes.addItem( oj );
|
||||
}
|
||||
free(themelist[count]);
|
||||
}
|
||||
free(themelist);
|
||||
}
|
||||
|
Reference in New Issue
Block a user