ref: ad3e410e18f471cc42104b7f39f195fb5d819b7a
dir: /lib/xrealloc.c/
/* See LICENSE file for copyright and license details. */ #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; }