shithub: scc

ref: 2e8217b7eced5b5af1048a3ba7144c0adb5b46c2
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;
}