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

Function connect_dev_memleak_done

lightningd/memdump.c:242–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242static void connect_dev_memleak_done(struct subd *connectd,
243 const u8 *reply,
244 const int *fds UNUSED,
245 struct leak_detect *leaks)
246{
247 bool found_leak;
248
249 if (!fromwire_connectd_dev_memleak_reply(reply, &found_leak))
250 fatal("Bad connect_dev_memleak");
251
252 if (found_leak)
253 report_subd_memleak(leaks, connectd);
254}
255
256static struct command_result *json_memleak(struct command *cmd,
257 const char *buffer,

Callers

nothing calls this directly

Calls 2

fatalFunction · 0.70
report_subd_memleakFunction · 0.70

Tested by

no test coverage detected