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

Function take_cleanup

ccan/ccan/take/take.c:114–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void take_cleanup(void)
115{
116 max_taken = num_taken = 0;
117 free(takenarr);
118 takenarr = NULL;
119 free(labelarr);
120 labelarr = NULL;
121}
122
123void take_allocfail(void (*fn)(const void *p))
124{

Callers 3

mainFunction · 0.85
tal_cleanupFunction · 0.85
common_shutdownFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68