Mercurial > hg-old > index.cgi
comparison src/expr.c @ 44:2330b88f9600
Added simple output listing
author | lost |
---|---|
date | Sun, 04 Jan 2009 06:52:18 +0000 |
parents | 7eafdb3a8074 |
children | 804d7465e0f9 |
comparison
equal
deleted
inserted
replaced
43:b33eca135258 | 44:2330b88f9600 |
---|---|
56 | 56 |
57 void lwasm_expr_term_free(lwasm_expr_term_t *t) | 57 void lwasm_expr_term_free(lwasm_expr_term_t *t) |
58 { | 58 { |
59 if (t) | 59 if (t) |
60 { | 60 { |
61 if (t -> symbol) | 61 if (t -> term_type == LWASM_TERM_SYM) |
62 lwasm_free(t -> symbol); | 62 lwasm_free(t -> symbol); |
63 lwasm_free(t); | 63 lwasm_free(t); |
64 } | 64 } |
65 } | 65 } |
66 | 66 |