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> |
||
|---|---|---|
| .. | ||
| fundchannel.c | ||
| fundchannel.h | ||
| main.c | ||
| multifundchannel.c | ||
| multifundchannel.h | ||
| multiwithdraw.c | ||
| multiwithdraw.h | ||
| openchannel.c | ||
| openchannel.h | ||