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-08-14 16:30:59 +02:00
2017-05-31 22:21:25 +02:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-08-01 12:40:42 -07:00
2017-07-20 16:56:45 +02:00
2017-07-24 16:32:21 +02:00
2017-08-15 20:43:45 +02:00
2017-08-14 17:02:10 +02:00
2017-08-14 17:02:10 +02:00
2017-06-22 19:18:10 +03:00
2017-08-07 07:36:37 +02:00
2017-08-14 17:02:10 +02:00
2017-08-15 21:24:21 +02:00
2017-08-14 17:02:10 +02:00
2017-07-04 18:05:18 +02:00
2017-06-01 16:42:07 -07:00
2017-06-01 16:42:07 -07:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-06-07 17:21:29 +00:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-08-14 17:02:10 +02:00
2017-08-14 17:02:10 +02:00
2017-08-14 17:02:10 +02:00
2017-07-15 14:28:40 +02:00
2017-06-22 03:48:52 +02:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-08-03 16:39:58 -07:00
2017-06-22 15:21:22 -04:00
2017-08-14 17:02:10 +02:00
2017-07-30 14:04:51 +02:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-07-14 19:24:17 +00:00
2017-06-28 11:44:22 -07:00
2017-07-22 09:11:55 +02:00
2017-07-08 13:33:01 -07:00
2017-08-07 17:01:21 +02:00
2017-07-07 10:45:31 -07:00
2017-07-12 14:03:42 -04:00
2017-08-14 16:30:59 +02:00
2017-06-24 11:28:04 +02:00
2017-08-14 17:02:10 +02:00
2017-08-07 07:36:37 +02:00
2017-06-09 10:25:26 +02:00
2017-05-19 02:01:28 -07:00
2017-07-08 13:33:01 -07:00
2017-05-26 13:24:25 -07:00
2017-08-14 17:02:10 +02:00
2017-06-12 20:37:43 +02:00
2017-08-14 17:02:10 +02:00
2017-07-17 17:42:09 +02:00
2017-08-15 17:47:55 +02:00
2017-07-17 14:56:52 +02:00
2017-08-07 07:36:37 +02:00
2017-06-09 10:25:26 +02:00
2017-06-28 02:12:06 +02:00
2017-07-20 09:03:53 -07:00
2017-06-09 19:25:36 -07:00
2017-07-13 12:49:05 -04:00
2017-06-09 19:25:36 -07:00
2017-06-09 19:25:36 -07:00
2017-07-17 17:42:21 +02:00
2017-06-22 03:48:52 +02:00
2017-07-17 15:12:39 -07:00
2017-07-12 10:48:37 -05:00
2017-08-14 17:02:10 +02:00
2017-06-12 20:37:43 +02:00
2017-08-14 17:02:10 +02:00
2017-06-05 16:33:35 -04:00
2017-08-14 17:02:10 +02:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-07-22 09:11:55 +02:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-06-26 13:40:26 +02:00
2017-07-16 21:22:05 +02:00
2017-08-07 07:36:37 +02:00
2017-08-14 16:30:59 +02:00
2017-06-14 15:22:15 +02:00
2017-08-07 07:36:37 +02:00
2017-07-15 21:19:44 +02:00
2017-07-23 14:51:22 -04:00
2017-07-10 21:08:19 -04:00
2017-07-08 13:33:01 -07:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-08-14 17:02:10 +02:00
2017-08-14 17:02:10 +02:00
2017-08-14 17:02:10 +02:00
2017-06-28 18:26:41 +02:00
2017-07-04 18:05:18 +02:00
2017-08-07 07:36:37 +02:00
2017-06-29 17:48:08 +02: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-08-07 17:10:42 +02:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-08-14 17:02:10 +02:00
2017-08-07 07:36:37 +02:00
2017-07-07 12:55:57 -04:00
2017-07-15 20:04:04 +02:00
2017-06-09 01:45:36 +02:00
2017-08-07 07:36:37 +02:00
2017-08-07 07:36:37 +02:00
2017-08-14 17:02:10 +02:00
2017-07-22 09:55:57 +02:00