shithub: scc

ref: 3c6c5a02710e4d7a3da6121e9bfb8d2bc0d786dd
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;
}