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

Function connect_dev_memleak_done

lightningd/memdump.c:211–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211static void connect_dev_memleak_done(struct subd *connectd,
212 const u8 *reply,
213 const int *fds UNUSED,
214 struct leak_detect *leaks)
215{
216 bool found_leak;
217
218 if (!fromwire_connectd_dev_memleak_reply(reply, &found_leak))
219 fatal("Bad connect_dev_memleak");
220
221 if (found_leak)
222 report_subd_memleak(leaks, connectd);
223}
224
225static struct command_result *json_memleak(struct command *cmd,
226 const char *buffer,

Callers

nothing calls this directly

Calls 2

fatalFunction · 0.70
report_subd_memleakFunction · 0.70

Tested by

no test coverage detected