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