comparison eval.c @ 38:b156910b59b2

Wrap free() in dofree() to allow instrumenting it for debugging.
author David A. Holland
date Sat, 30 Mar 2013 21:02:25 -0400
parents 76c114899f63
children 337110e7240a
comparison
equal deleted inserted replaced
37:70902cac4170 38:b156910b59b2
147 147
148 static 148 static
149 void 149 void
150 token_destroy(struct token *t) 150 token_destroy(struct token *t)
151 { 151 {
152 free(t); 152 dofree(t);
153 } 153 }
154 154
155 DESTROYALL_ARRAY(token, ); 155 DESTROYALL_ARRAY(token, );
156 156
157 static 157 static