Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/eggert/tz
/ memcheck
Function
memcheck
zic.c:616–622 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
614
}
615
#endif
616
617
static void *
618
memcheck(void *ptr)
619
{
620
if (ptr == NULL)
621
memory_exhausted(strerror(HAVE_MALLOC_ERRNO ? errno : ENOMEM));
622
return ptr;
623
}
624
625
static void *
Callers
3
xmalloc
Function · 0.85
xrealloc
Function · 0.85
xstrdup
Function · 0.85
Calls
1
memory_exhausted
Function · 0.85
Tested by
no test coverage detected