Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
114
void take_cleanup(void)
115
{
116
max_taken = num_taken = 0;
117
free(takenarr);
118
takenarr = NULL;
119
free(labelarr);
120
labelarr = NULL;
121
}
122
123
void take_allocfail(void (*fn)(const void *p))
124
{
Callers
3
main
Function · 0.85
tal_cleanup
Function · 0.85
common_shutdown
Function · 0.85
Calls
no outgoing calls
Tested by
1
main
Function · 0.68