mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 23:08:03 +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);
|
expects.push_back(dc);
|
||||||
} else if (dc->cmd == LibCmd_DefaultLib) {
|
} else if (dc->cmd == LibCmd_DefaultLib) {
|
||||||
defaults.push_back(dc);
|
defaults.push_back(dc);
|
||||||
|
} else {
|
||||||
|
delete dc;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
delete dc;
|
delete dc;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user