From 0b000904f254f89f1e89b012c169e8320b6ac89a Mon Sep 17 00:00:00 2001 From: riordant Date: Tue, 2 Jun 2020 16:58:32 +0700 Subject: [PATCH] zwallet destructor --- src/wallet/wallet.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index de7baf976b..811e114b59 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -767,6 +767,8 @@ class CWallet : public CCryptoKeyStore, public CValidationInterface { delete pwalletdbEncryption; pwalletdbEncryption = NULL; + delete zwallet; + zwallet = NULL; } void SetNull()