mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-23 17:36:37 +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 ()
|
~Peer ()
|
||||||
{
|
{
|
||||||
|
if (session) session->Done ();
|
||||||
for (auto it :delayedMessages)
|
for (auto it :delayedMessages)
|
||||||
i2p::DeleteI2NPMessage (it);
|
i2p::DeleteI2NPMessage (it);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue