mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
fixed memory leak
This commit is contained in:
parent
4f429b3e06
commit
44bba19283
2 changed files with 3 additions and 0 deletions
|
@ -90,6 +90,8 @@ namespace ssu
|
|||
|
||||
if (isLast)
|
||||
{
|
||||
if (!msg)
|
||||
DeleteI2NPMessage (it->second->msg);
|
||||
delete it->second;
|
||||
m_IncomleteMessages.erase (it);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue