Browse Source

routing: fix falsely flagged leak.

pending goes away on a timer, sure, but might as well use tmpctx here.

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

2
gossipd/routing.c

@ -871,7 +871,7 @@ u8 *handle_channel_announcement(struct routing_state *rstate,
}
status_trace("Received channel_announcement for channel %s",
type_to_string(pending, struct short_channel_id,
type_to_string(tmpctx, struct short_channel_id,
&pending->short_channel_id));
/* Add both endpoints to the pending_node_map so we can stash

Loading…
Cancel
Save