diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2017-10-12 23:14:46 +0100 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2017-10-14 23:59:46 +0100 |
commit | 7104de8b1f3a31d3a60009b5dc376adbedac6a9c (patch) | |
tree | 827a41ec17d3d3e887f236848f122fcf3cdb7832 /src/qt/transactionrecord.h | |
parent | 326a5652e0d25fdb60c337ef4f1c98a63e0748f0 (diff) |
[wallet] Fix leak in CDB constructor
Now using a std::unique_ptr, the Db instance is correctly released
when CDB initialization fails.
The internal CDB state and mapFileUseCount are only mutated when
the CDB initialization succeeds.
Diffstat (limited to 'src/qt/transactionrecord.h')
0 files changed, 0 insertions, 0 deletions