mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 10:39:49 +01:00
88adbbd20e
This was just a minor leak, found by CI for test_openchannel_hook_chaining. We didn't call negotiation_aborted which frees various fields: negotiation_failed() does that for us. ``` MEMLEAK: 0x55b0f2d5f3c8 label=common/channel_type.c:19:struct channel_type backtrace: ccan/ccan/tal/tal.c:442 (tal_alloc_) common/channel_type.c:19 (channel_type_none) common/channel_type.c:27 (channel_type_static_remotekey) common/channel_type.c:136 (channel_type_accept) openingd/openingd.c:844 (fundee_channel) openingd/openingd.c:1240 (handle_peer_in) openingd/openingd.c:1510 (main) parents: openingd/openingd.c:1414:struct state ``` Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
common.c | ||
common.h | ||
dualopend_wire.csv | ||
dualopend_wiregen.c | ||
dualopend_wiregen.h | ||
dualopend.c | ||
Makefile | ||
openingd_wire.csv | ||
openingd_wiregen.c | ||
openingd_wiregen.h | ||
openingd.c |