mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-24 01:46:36 +02:00
fixed memory leak
This commit is contained in:
parent
52f9d5f0aa
commit
a27dd17cef
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ namespace transport
|
|||
|
||||
~Peer ()
|
||||
{
|
||||
if (session) session->Done ();
|
||||
for (auto it :delayedMessages)
|
||||
i2p::DeleteI2NPMessage (it);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue