mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
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