mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-18 20:44:27 +01:00
channeld: don't free msg in init.
It's allocated off tmpctx, and it's already freed if we loop in peer_reconnect(). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
26deec0c82
commit
9dd0415a15
@@ -2535,7 +2535,6 @@ static void init_channel(struct peer *peer)
|
||||
channel_announcement_negotiate(peer);
|
||||
|
||||
billboard_update(peer);
|
||||
tal_free(msg);
|
||||
}
|
||||
|
||||
static void send_shutdown_complete(struct peer *peer)
|
||||
|
||||
Reference in New Issue
Block a user