diff --git a/I2PTunnel.cpp b/I2PTunnel.cpp index d083ba6a..5a5b88f7 100644 --- a/I2PTunnel.cpp +++ b/I2PTunnel.cpp @@ -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 ()