Browse Source
This is fixed when payload is freed, but I noted a leak in the case of an invalid payload: ``` E ValueError: E Node errors: E Global errors: E - Node /tmp/ltests-ipt6ab_y/test_sendinvoice_1/lightning-2/ has memory leaks: [ E { E "backtrace": [ E "ccan/ccan/tal/tal.c:442 (tal_alloc_)", E "ccan/ccan/tal/tal.c:471 (tal_alloc_arr_)", E "gossipd/gossipd_wiregen.c:925 (fromwire_gossipd_got_onionmsg_to_us)", E "lightningd/onion_message.c:99 (handle_onionmsg_to_us)", E "lightningd/gossip_control.c:166 (gossip_msg)", E "lightningd/subd.c:480 (sd_msg_read)", E "ccan/ccan/io/io.c:59 (next_plan)", E "ccan/ccan/io/io.c:407 (do_plan)", E "ccan/ccan/io/io.c:417 (io_ready)", E "ccan/ccan/io/poll.c:445 (io_loop)", E "lightningd/io_loop_with_timers.c:24 (io_loop_with_timers)", E "lightningd/lightningd.c:1016 (main)" E ], E "label": "gossipd/gossipd_wiregen.c:925:u8[]", E "parents": [ E "lightningd/onion_message.c:96:struct onion_message_hook_payload", E "lightningd/plugin_hook.c:87:struct hook_instance *[]" E ], E "value": "0x560779438db8" E } E ] ``` Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>ppa
Rusty Russell
4 years ago
1 changed files with 5 additions and 1 deletions
Loading…
Reference in new issue