MCPcopy Create free account
hub / github.com/apache/httpd / ap_calloc

Function ap_calloc

server/util.c:3160–3166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3158}
3159
3160AP_DECLARE(void *) ap_calloc(size_t nelem, size_t size)
3161{
3162 void *p = calloc(nelem, size);
3163 if (p == NULL && nelem != 0 && size != 0)
3164 ap_abort_on_oom();
3165 return p;
3166}
3167
3168AP_DECLARE(void *) ap_realloc(void *ptr, size_t size)
3169{

Callers 5

ap_init_scoreboardFunction · 0.85
ap_create_scoreboardFunction · 0.85
child_mainFunction · 0.85
child_mainFunction · 0.85

Calls 1

ap_abort_on_oomFunction · 0.85

Tested by

no test coverage detected