From 6e13a54c2d73554123bed2942e3a1d2459bb1f3c Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Fri, 4 May 2012 12:24:26 +0400 Subject: [PATCH] gui/themes.cpp: fix memleak in scandir Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/86f32ea5a7c540bace5ede9726fbfdec0301ebe2 Author: [CST] Focus Date: 2012-05-04 (Fri, 04 May 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/themes.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/themes.cpp b/src/gui/themes.cpp index 54c14aee9..62200de79 100644 --- a/src/gui/themes.cpp +++ b/src/gui/themes.cpp @@ -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); }