mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
fixed memory leak
This commit is contained in:
@@ -90,6 +90,8 @@ namespace ssu
|
||||
|
||||
if (isLast)
|
||||
{
|
||||
if (!msg)
|
||||
DeleteI2NPMessage (it->second->msg);
|
||||
delete it->second;
|
||||
m_IncomleteMessages.erase (it);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user