MCPcopy Create free account
hub / github.com/containers/bubblewrap / xcalloc

Function xcalloc

utils.c:155–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155void *
156xcalloc (size_t nmemb, size_t size)
157{
158 void *res = calloc (nmemb, size);
159
160 if (res == NULL)
161 die_oom ();
162 return res;
163}
164
165void *
166xrealloc (void *ptr, size_t size)

Callers 2

parse_args_recurseFunction · 0.85
parse_mountinfoFunction · 0.85

Calls 1

die_oomFunction · 0.85

Tested by

no test coverage detected