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

Function gossip_dev_memleak_done

lightningd/memdump.c:228–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228static void gossip_dev_memleak_done(struct subd *gossipd,
229 const u8 *reply,
230 const int *fds UNUSED,
231 struct leak_detect *leaks)
232{
233 bool found_leak;
234
235 if (!fromwire_gossipd_dev_memleak_reply(reply, &found_leak))
236 fatal("Bad gossip_dev_memleak");
237
238 if (found_leak)
239 report_subd_memleak(leaks, gossipd);
240}
241
242static void connect_dev_memleak_done(struct subd *connectd,
243 const u8 *reply,

Callers

nothing calls this directly

Calls 2

fatalFunction · 0.70
report_subd_memleakFunction · 0.70

Tested by

no test coverage detected