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

Function test_free

ccan/ccan/timer/test/run-allocator.c:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18static void test_free(struct timers *timers, void *p)
19{
20 if (p) {
21 ((struct timers_with_counters *)timers)->num_free++;
22 free(p);
23 }
24}
25
26static struct timemono timemono_from_nsec(unsigned long long nsec)
27{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected