shithub: scc

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