fix for memory leak[?]
This commit is contained in:
parent
5ffb38b5bc
commit
ad0eafe66a
@ -559,6 +559,8 @@ void CPluginMngr::CacheAndLoadModules(const char *plugin)
|
||||
expects.push_back(dc);
|
||||
} else if (dc->cmd == LibCmd_DefaultLib) {
|
||||
defaults.push_back(dc);
|
||||
} else {
|
||||
delete dc;
|
||||
}
|
||||
} else {
|
||||
delete dc;
|
||||
|
Loading…
Reference in New Issue
Block a user