Mercurial > ~dholland > hg > tradcpp > index.cgi
comparison eval.c @ 39:337110e7240a
Pass the size to free; it makes debug checking easier.
author | David A. Holland |
---|---|
date | Sat, 30 Mar 2013 21:17:47 -0400 |
parents | b156910b59b2 |
children | 2e25e55dba6b |
comparison
equal
deleted
inserted
replaced
38:b156910b59b2 | 39:337110e7240a |
---|---|
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 dofree(t); | 152 dofree(t, sizeof(*t)); |
153 } | 153 } |
154 | 154 |
155 DESTROYALL_ARRAY(token, ); | 155 DESTROYALL_ARRAY(token, ); |
156 | 156 |
157 static | 157 static |