mirror of https://github.com/vitalif/openscad
Fix memory leak 25072 (ModuleCache::evaluate)
parent
7223f2ac05
commit
a1a238a9cd
|
@ -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 New Issue