1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-21 12:49:10 +00:00

Plug some simple leaks detected during startup

This commit is contained in:
2013-01-04 00:00:14 -08:00
parent 2c9a9bb1a8
commit abbbfc12d7
7 changed files with 25 additions and 13 deletions

View File

@ -279,6 +279,13 @@ plNetLinkingMgr::plNetLinkingMgr()
{
}
plNetLinkingMgr::~plNetLinkingMgr()
{
std::for_each(s_opqueue.begin(), s_opqueue.end(),
[](NlmOp * op) { delete op; }
);
}
plNetLinkingMgr * plNetLinkingMgr::GetInstance()
{
static plNetLinkingMgr Instance;