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