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