mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-13 08:11:11 +00:00
Fix a memory leak in ClientConnection
This commit is contained in:
parent
b30de01b12
commit
c05f411ba0
@ -188,7 +188,9 @@ namespace client
|
||||
m_Acceptor.close();
|
||||
m_Timer.cancel ();
|
||||
ClearConnections ();
|
||||
auto *originalIdentHash = m_DestinationIdentHash;
|
||||
m_DestinationIdentHash = nullptr;
|
||||
delete originalIdentHash;
|
||||
}
|
||||
|
||||
void I2PClientTunnel::Accept ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user