ref: a73645af515b2acd8071837597a4a18b649ee9be dir: /src/libscc/xrealloc.c/
#include <stdlib.h> #include <scc/scc.h> void * xrealloc(void *buff, size_t size) { void *p = realloc(buff, size); if (!p) die("out of memory"); return p; }