Files
bitcoin/src
Jonas Schnelli ae47724687 Merge #11017: [wallet] Close DB on error.
03bc719a8 [wallet] Close DB on error. (Karl-Johan Alm)

Pull request description:

  This PR intends to plug some leaks. It specifically implements adherence to the requirement in BDB to close a handle which failed to open (https://docs.oracle.com/cd/E17276_01/html/api_reference/C/dbopen.html):

  > The `DB->open()` method returns a non-zero error value on failure and 0 on success. If `DB->open()` fails, the `DB->close()` method must be called to discard the DB handle.

Tree-SHA512: cc1f2b925ef3fd6de785f62108fbc79454443397f80707762acbc56757841d2c32b69c0234f87805571aa40c486da31f315ca4c607a2c7d1c97c82a01301e2a6
2017-08-15 21:24:21 +02:00
..
2017-06-22 19:18:10 +03:00
2017-07-15 14:28:40 +02:00
2017-06-09 10:25:26 +02:00
2017-06-09 10:25:26 +02:00
2017-06-05 16:33:35 -04:00
2017-07-08 13:33:01 -07:00
2017-07-14 19:24:17 +00:00
2017-08-14 17:02:36 +02:00
2017-08-14 17:02:36 +02:00
2017-07-22 09:55:57 +02:00