shithub: scc

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