fixed memory leak

This commit is contained in:
orignal 2016-12-29 22:06:33 -05:00
parent b1b5904852
commit 2e8fa88fcb
4 changed files with 15 additions and 7 deletions

View file

@ -141,7 +141,8 @@ namespace transport
bool m_IsPeerTest;
SessionState m_State;
bool m_IsSessionKey;
uint32_t m_RelayTag;
uint32_t m_RelayTag; // received from peer
uint32_t m_SentRelayTag; // sent by us
i2p::crypto::CBCEncryption m_SessionKeyEncryption;
i2p::crypto::CBCDecryption m_SessionKeyDecryption;
i2p::crypto::AESKey m_SessionKey;