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

Function dualopend_memleak_req_done

lightningd/peer_control.c:3078–3089  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3076}
3077
3078static void dualopend_memleak_req_done(struct subd *dualopend,
3079 const u8 *msg, const int *fds UNUSED,
3080 struct leak_detect *leaks)
3081{
3082 bool found_leak;
3083
3084 if (!fromwire_dualopend_dev_memleak_reply(msg, &found_leak))
3085 fatal("Bad dualopend_dev_memleak");
3086
3087 if (found_leak)
3088 report_subd_memleak(leaks, dualopend);
3089}
3090
3091void peer_dev_memleak(struct lightningd *ld, struct leak_detect *leaks)
3092{

Callers

nothing calls this directly

Calls 3

fatalFunction · 0.70
report_subd_memleakFunction · 0.70

Tested by

no test coverage detected