Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ xmalloc
Function
xmalloc
ccan/ccan/base64/test/run.c:348–357 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
346
}
347
348
static void * xmalloc(size_t size)
349
{
350
char * ret;
351
ret = malloc(size);
352
if (ret == NULL) {
353
perror(
"malloc"
);
354
abort();
355
}
356
return ret;
357
}
358
359
/* End of run.c test */
Callers
2
run.c
File · 0.85
main
Function · 0.85
Calls
1
abort
Function · 0.85
Tested by
no test coverage detected