Fix memory leak 25072 (ModuleCache::evaluate)

master
Liam Marshall 2015-05-15 14:07:42 -05:00
parent 7223f2ac05
commit a1a238a9cd
1 changed files with 1 additions and 0 deletions

View File

@ -122,6 +122,7 @@ bool ModuleCache::evaluate(const std::string &filename, FileModule *&module)
module = lib_mod;
bool depschanged = lib_mod ? lib_mod->handleDependencies() : false;
delete entry;
return shouldCompile || depschanged;
}