MCPcopy Create free account
hub / github.com/ElementsProject/lightning / gossip_dev_memleak_done

Function gossip_dev_memleak_done

lightningd/memdump.c:197–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197static void gossip_dev_memleak_done(struct subd *gossipd,
198 const u8 *reply,
199 const int *fds UNUSED,
200 struct leak_detect *leaks)
201{
202 bool found_leak;
203
204 if (!fromwire_gossipd_dev_memleak_reply(reply, &found_leak))
205 fatal("Bad gossip_dev_memleak");
206
207 if (found_leak)
208 report_subd_memleak(leaks, gossipd);
209}
210
211static void connect_dev_memleak_done(struct subd *connectd,
212 const u8 *reply,

Callers

nothing calls this directly

Calls 2

fatalFunction · 0.70
report_subd_memleakFunction · 0.70

Tested by

no test coverage detected