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

Function xmalloc

utils.c:145–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145void *
146xmalloc (size_t size)
147{
148 void *res = malloc (size);
149
150 if (res == NULL)
151 die_oom ();
152 return res;
153}
154
155void *
156xcalloc (size_t nmemb, size_t size)

Callers 3

strconcatFunction · 0.85
strconcat3Function · 0.85
load_file_dataFunction · 0.85

Calls 1

die_oomFunction · 0.85

Tested by

no test coverage detected