MCPcopy 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
617static void *
618memcheck(void *ptr)
619{
620 if (ptr == NULL)
621 memory_exhausted(strerror(HAVE_MALLOC_ERRNO ? errno : ENOMEM));
622 return ptr;
623}
624
625static void *

Callers 3

xmallocFunction · 0.85
xreallocFunction · 0.85
xstrdupFunction · 0.85

Calls 1

memory_exhaustedFunction · 0.85

Tested by

no test coverage detected