Files
lightning/lightningd
Rusty Russell 65be18d355 memleak: handle libwally allocations better.
Things allocated by libwally all get the tal_name "wally_tal",
which cost me a few hours trying to find a leak.

In the case where we're making one of the allocations the parent
of the others (e.g. a wally_psbt), we can do better: supply a name
for the tal_wally_end().

So I add a new tal_wally_end_onto() which does the standard
tal_steal() trick, and also changes the (typechecked!) name.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-03-21 10:19:50 +10:30
..
2021-10-15 12:09:36 +02:00
2021-12-30 14:36:55 +10:30
2022-03-10 09:40:09 +10:30
2022-03-10 09:40:09 +10:30
2021-12-28 04:42:42 +10:30
2022-02-08 11:15:52 +10:30
2022-03-10 09:40:09 +10:30
2022-03-10 09:40:09 +10:30
2021-10-15 12:09:36 +02:00