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

Function openingd_memleak_req_done

lightningd/peer_control.c:3065–3076  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3063}
3064
3065static void openingd_memleak_req_done(struct subd *open_daemon,
3066 const u8 *msg, const int *fds UNUSED,
3067 struct leak_detect *leaks)
3068{
3069 bool found_leak;
3070
3071 if (!fromwire_openingd_dev_memleak_reply(msg, &found_leak))
3072 fatal("Bad opening_dev_memleak");
3073
3074 if (found_leak)
3075 report_subd_memleak(leaks, open_daemon);
3076}
3077
3078static void dualopend_memleak_req_done(struct subd *dualopend,
3079 const u8 *msg, const int *fds UNUSED,

Callers

nothing calls this directly

Calls 3

fatalFunction · 0.70
report_subd_memleakFunction · 0.70

Tested by

no test coverage detected