fixed memory leak

This commit is contained in:
orignal 2015-02-10 15:51:56 -05:00
parent 52f9d5f0aa
commit a27dd17cef

View File

@ -60,6 +60,7 @@ namespace transport
~Peer ()
{
if (session) session->Done ();
for (auto it :delayedMessages)
i2p::DeleteI2NPMessage (it);
}