From c415d7fffcf1571258759a97fe1bbaa156ffb0bb Mon Sep 17 00:00:00 2001 From: cpubug Date: Wed, 23 Apr 2014 22:46:15 +0400 Subject: [PATCH] revert commit 61001ef --- Identity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Identity.h b/Identity.h index 12ca8535..be9ae901 100644 --- a/Identity.h +++ b/Identity.h @@ -108,7 +108,7 @@ namespace data public: RoutingDestination (): m_ElGamalEncryption (nullptr) {}; - virtual ~RoutingDestination () { if (m_ElGamalEncryption) delete m_ElGamalEncryption; }; + virtual ~RoutingDestination () { delete m_ElGamalEncryption; }; virtual const IdentHash& GetIdentHash () const = 0; virtual const uint8_t * GetEncryptionPublicKey () const = 0;