commit a280bdad1f16943a70eaff086852d3b11043b060 from: Hiltjo Posthuma date: Sat Nov 5 10:36:42 2016 UTC die() on calloc failure thanks Markus Teich and David! commit - a9a5c6cc2d7d55ed7e556a4fe9d75307c6df2e84 commit + a280bdad1f16943a70eaff086852d3b11043b060 blob - b0612af63c5f8a231d7420bfb518a367ea1f8afa blob + fe044fc7b7978d1f3c23768e315aae415d90b11a --- util.c +++ util.c @@ -12,7 +12,7 @@ ecalloc(size_t nmemb, size_t size) void *p; if (!(p = calloc(nmemb, size))) - perror(NULL); + die("calloc:"); return p; }