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

Function onchaind_memleak_req_done

lightningd/peer_control.c:3052–3063  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3050}
3051
3052static void onchaind_memleak_req_done(struct subd *onchaind,
3053 const u8 *msg, const int *fds UNUSED,
3054 struct leak_detect *leaks)
3055{
3056 bool found_leak;
3057
3058 if (!fromwire_onchaind_dev_memleak_reply(msg, &found_leak))
3059 fatal("Bad onchaind_dev_memleak");
3060
3061 if (found_leak)
3062 report_subd_memleak(leaks, onchaind);
3063}
3064
3065static void openingd_memleak_req_done(struct subd *open_daemon,
3066 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