mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
gossipd: fix leak in gossip_store_add_channel_delete.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
90d1062a55
commit
a475098928
@ -239,6 +239,7 @@ void gossip_store_add_channel_delete(struct gossip_store *gs,
|
||||
{
|
||||
u8 *msg = towire_gossip_store_channel_delete(NULL, scid);
|
||||
gossip_store_append(gs->fd, gs->rstate, msg);
|
||||
tal_free(msg);
|
||||
}
|
||||
|
||||
void gossip_store_load(struct routing_state *rstate, struct gossip_store *gs)
|
||||
|
Loading…
Reference in New Issue
Block a user