Fix memory leak 25072 (ModuleCache::evaluate)
This commit is contained in:
parent
7223f2ac05
commit
a1a238a9cd
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue