gui/themes.cpp: fix memleak in scandir

Origin commit data
------------------
Branch: ni/coolstream
Commit: 86f32ea5a7
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-05-04 (Fri, 04 May 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2012-05-04 12:24:26 +04:00
parent 82a3daf725
commit 6e13a54c2d

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