Rusty Russell
ef2a063169
utils: add a global tmpctx.
...
I did a brief audit of tmpctx uses, and we do leak them in various
corner cases. Fortunely, all our daemons are based on some kind of
I/O loop, so it's fairly easy to clean a global tmpctx at that point.
This makes things a bit neater, and slightly more efficient, but also
clearer: I avoided creating a tmpctx in a few places because I didn't
want to add another allocation. With that penalty removed, I can use
it more freely and hopefully write clearer code.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2018-03-16 00:16:10 +00:00
..
2018-03-09 17:57:55 +01:00
2017-11-24 13:22:18 +01:00
2017-12-08 13:07:20 +01:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
2018-02-19 02:01:37 +00:00
2018-01-29 04:46:54 +00:00
2017-08-29 17:54:14 +02:00
2017-10-11 11:54:50 +02:00
2017-12-21 11:05:38 +00:00
2017-12-21 11:05:38 +00:00
2018-02-02 20:35:44 +01:00
2017-12-13 22:46:10 +01:00
2017-10-20 18:31:32 +02:00
2017-10-20 18:31:32 +02:00
2018-02-07 00:46:49 +00:00
2017-08-29 17:54:14 +02:00
2018-02-13 12:10:35 +01:00
2018-02-13 12:10:35 +01:00
2018-03-14 02:19:37 +00:00
2018-03-14 02:19:37 +00:00
2017-11-16 17:40:57 +01:00
2017-11-16 17:40:57 +01:00
2018-01-29 04:46:54 +00:00
2017-10-26 12:53:09 +02:00
2018-03-14 02:19:37 +00:00
2018-03-14 02:19:37 +00:00
2017-10-26 12:53:09 +02:00
2017-12-21 11:05:38 +00:00
2017-11-01 01:09:23 +00:00
2017-11-01 01:09:23 +00:00
2017-08-29 17:54:14 +02:00
2018-02-08 22:49:34 +01:00
2017-12-21 11:05:38 +00:00
2017-12-21 11:05:38 +00:00
2018-02-08 19:07:12 +01:00
2018-02-08 19:07:12 +01:00
2017-08-29 17:54:14 +02:00
2017-12-21 11:05:38 +00:00
2017-12-21 11:05:38 +00:00
2017-12-21 11:05:38 +00:00
2017-12-21 11:05:38 +00:00
2018-03-16 00:16:10 +00:00
2017-09-29 10:20:08 +09:30
2018-02-09 12:44:33 +01:00
2018-02-09 12:44:33 +01:00
2017-11-16 17:40:57 +01:00
2017-08-29 17:54:14 +02:00
2017-11-23 23:10:08 +01:00
2017-11-16 17:40:57 +01:00
2018-02-23 18:02:00 +01:00
2018-02-22 01:09:12 +00:00
2017-12-20 12:43:10 +01:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
2018-02-23 18:02:00 +01:00
2018-02-23 18:02:00 +01:00
2018-02-23 18:02:00 +01:00
2018-02-19 02:56:51 +00:00
2018-02-19 02:56:51 +00:00
2018-01-15 06:35:02 +00:00
2017-08-29 17:54:14 +02:00
2018-02-22 12:24:26 +01:00
2018-02-22 12:24:26 +01:00
2017-08-29 17:54:14 +02:00
2017-08-29 17:54:14 +02:00
2018-03-13 16:34:55 +01:00
2018-02-19 02:56:51 +00:00
2017-12-28 16:09:46 +01:00
2017-08-29 17:54:14 +02:00
2018-02-08 19:07:12 +01:00
2018-02-08 19:07:12 +01:00
2018-02-23 18:02:00 +01:00
2018-02-08 19:07:12 +01:00
2018-03-13 16:34:55 +01:00
2018-02-23 18:02:00 +01:00
2018-03-16 00:16:10 +00:00
2018-01-08 18:16:39 +01:00
2018-02-14 11:31:58 +01:00
2017-08-29 17:54:14 +02:00
2018-03-06 19:26:21 +01:00
2018-03-13 16:34:55 +01:00
2018-03-16 00:16:10 +00:00
2018-03-16 00:16:10 +00:00
2018-02-08 19:07:12 +01:00
2018-03-06 18:59:27 +01:00
2018-02-22 01:09:12 +00:00
2018-01-29 03:22:27 +00:00
2018-02-20 22:36:21 +01:00
2018-01-29 04:46:54 +00:00
2018-02-26 03:13:55 +00:00
2018-02-26 03:13:55 +00:00
2017-12-21 14:33:27 +01:00
2017-12-13 03:10:04 +00:00