ref: f28cb3a880a38864884e8c5e791c191dd477cd97
parent: 8a00270e0aafafe5d5d5fbdb5b513609cf560778
author: Ori Bernstein <[email protected]>
date: Mon Dec 28 15:02:17 EST 2020
ref: malloc => emalloc (thanks kvik)
--- a/ref.c
+++ b/ref.c
@@ -135,7 +135,7 @@
if(hasheq(&o->hash, &h->obj->hash))
return h;
- h = malloc(sizeof(*h));
+ h = emalloc(sizeof(*h));
h->obj = o;
h->mark = nil;
h->queue = nil;