gui/themes.cpp: fix memleak in scandir

Origin commit data
------------------
Commit: 86f32ea5a7
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-05-04 (Fri, 04 May 2012)
This commit is contained in:
[CST] Focus
2012-05-04 12:24:26 +04:00
parent caf4fa61ab
commit 4460e5f6a0

View File

@@ -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);
}