fixed memory leak

This commit is contained in:
orignal 2014-05-04 18:57:26 -04:00
parent 4f429b3e06
commit 44bba19283
2 changed files with 3 additions and 0 deletions

View file

@ -90,6 +90,8 @@ namespace ssu
if (isLast)
{
if (!msg)
DeleteI2NPMessage (it->second->msg);
delete it->second;
m_IncomleteMessages.erase (it);
}