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

Function leak_detect_req_done

lightningd/memdump.c:204–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204static void leak_detect_req_done(const struct subd_req *req,
205 struct leak_detect *leak_detect)
206{
207 leak_detect->num_outstanding_requests--;
208 if (leak_detect->num_outstanding_requests == 0)
209 finish_report(leak_detect);
210}
211
212/* Start a leak request: decrements num_outstanding_requests when freed. */
213void start_leak_request(const struct subd_req *req,

Callers

nothing calls this directly

Calls 1

finish_reportFunction · 0.85

Tested by

no test coverage detected