ref: 6c02870f4f2fdae06b66a94446f8d3d0bd0d4045
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;
}