Browse Source

gossipd: fix leak in gossip_store_add_channel_delete.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 7 years ago
committed by Christian Decker
parent
commit
a475098928
  1. 1
      gossipd/gossip_store.c

1
gossipd/gossip_store.c

@ -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…
Cancel
Save