diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2012-03-03 13:59:19 -0500 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-03-03 13:59:19 -0500 |
commit | 7013cc3d9710c0a03f6587c854e4e50c358ea70c (patch) | |
tree | 35e3c2ff533126be6d8d495eb6cf33d62b609014 /src/wallet.cpp | |
parent | ef48e9b7dfde66368c27ed34f5f42de1b8e781f9 (diff) | |
parent | 88aa771536014919e955c4f7b2cada9a0dcf8561 (diff) | |
download | bitcoin-7013cc3d9710c0a03f6587c854e4e50c358ea70c.tar.xz |
Merge branch '0.4.x' into 0.5.0.x
Diffstat (limited to 'src/wallet.cpp')
-rw-r--r-- | src/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp index 28babdb3e2..20c3eabdc7 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -182,7 +182,7 @@ bool CWallet::EncryptWallet(const SecureString& strWalletPassphrase) if (!pwalletdbEncryption->TxnCommit()) exit(1); //We now have keys encrypted in memory, but no on disk...die to avoid confusion and let the user reload their unencrypted wallet. - pwalletdbEncryption->Close(); + delete pwalletdbEncryption; pwalletdbEncryption = NULL; } |