Mercurial > hg > index.cgi
changeset 90:e20f9d59d5da
Fixed memory leaks revealed by valgrind
author | lost@l-w.ca |
---|---|
date | Wed, 22 Jun 2011 18:58:10 -0600 |
parents | 651b85a98c1b |
children | 95181f1ad183 |
files | lwasm/insn_indexed.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lwasm/insn_indexed.c Wed Jun 22 18:57:59 2011 -0600 +++ b/lwasm/insn_indexed.c Wed Jun 22 18:58:10 2011 -0600 @@ -363,7 +363,7 @@ } l -> pb = pb; - lw_expr_destroy(e2); +// lw_expr_destroy(e2); // lw_expr_destroy(e3); return; } @@ -419,6 +419,7 @@ l -> pb = pb; return; } + lw_expr_destroy(e2); } }