From: Peter Johnson Date: Sat, 6 Feb 2010 09:13:56 +0000 (-0000) Subject: nasm_pp_cleanup(): Do a better job of cleaning up. X-Git-Tag: v1.0.0~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=419e16fc7165d8d1068783535584e2e8014fce6a;p=yasm nasm_pp_cleanup(): Do a better job of cleaning up. svn path=/trunk/yasm/; revision=2283 --- diff --git a/modules/preprocs/nasm/nasm-pp.c b/modules/preprocs/nasm/nasm-pp.c index 5762e9d3..b7c99832 100644 --- a/modules/preprocs/nasm/nasm-pp.c +++ b/modules/preprocs/nasm/nasm-pp.c @@ -5065,7 +5065,13 @@ pp_cleanup(int pass_) free_llist(builtindef); free_llist(stddef); free_llist(predef); + builtindef = NULL; + stddef = NULL; + predef = NULL; + freeTokens = NULL; delete_Blocks(); + blocks.next = NULL; + blocks.chunk = NULL; } }