shithub: scc

ref: 4886e44d6ea86d65f31eb6ecbfa8f82cac9c2fa0
dir: /src/libscc/xmalloc.c/

View raw version
#include <stdlib.h>
#include <scc/scc.h>

void *
xmalloc(size_t size)
{
	void *p = malloc(size);

	if (!p)
		die("out of memory");
	return p;
}