diff options
| author | João Barbosa <[email protected]> | 2017-10-12 23:14:46 +0100 |
|---|---|---|
| committer | João Barbosa <[email protected]> | 2017-10-14 23:59:46 +0100 |
| commit | 7104de8b1f3a31d3a60009b5dc376adbedac6a9c (patch) | |
| tree | 827a41ec17d3d3e887f236848f122fcf3cdb7832 /src/httpserver.cpp | |
| parent | Merge #11456: Replace relevant services logic with a function suite. (diff) | |
| download | discoin-7104de8b1f3a31d3a60009b5dc376adbedac6a9c.tar.xz discoin-7104de8b1f3a31d3a60009b5dc376adbedac6a9c.zip | |
[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/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions