fix for memory leak[?]

This commit is contained in:
David Anderson 2006-06-04 00:29:27 +00:00
parent 5ffb38b5bc
commit ad0eafe66a

View File

@ -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;