ref: ff5b36e280ae269eaa3835006f0f46fbe1bb2d2f 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; }