HomePhabricator

fix possible memory leaks in CWallet::EncryptWallet
870da77da632Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

fix possible memory leaks in CWallet::EncryptWallet

  • add missing deletes for pwalletdbEncryption
  • add an assert before trying to reserve memory for pwalletdbEncryption
  • add a destructor to CWallet, which ensures deletion of pwalletdbEncryption on object destruction

Details

Provenance
Philip Kaufmann <phil.kaufmann@t-online.de>Authored on Sep 28 2014, 14:11
deadalnixPushed on May 14 2017, 22:04
Parents
rABCf606bb9bafaf: fix a possible memory leak in CWalletDB::Recover
Branches
Unknown
Tags
Unknown

Event Timeline

Philip Kaufmann <phil.kaufmann@t-online.de> committed rABC870da77da632: fix possible memory leaks in CWallet::EncryptWallet (authored by Philip Kaufmann <phil.kaufmann@t-online.de>).Oct 1 2014, 06:48