scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 6fc51e2569cbb4e197987cecbb44d4967f540b2c
parent c7bc9f60fb5f56e9640a46e7dba71326b173ffe0
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sun, 24 Sep 2017 08:39:21 +0200

[as] Free in binary()

Diffstat:
Mas/expr.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/as/expr.c b/as/expr.c @@ -125,8 +125,10 @@ binary(int op, Node *l, Node *r) default: abort(); } + deltree(l); + deltree(r); - np = node(NUMBER, l, r); + np = node(NUMBER, NULL, NULL); np->sym = tmpsym(val); return np;