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