From 9d18af51dadb6f1be6e0f5509a300a418eaeae40 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Sat, 18 Jan 2014 16:58:14 +0900 Subject: [PATCH] some global stacks are missed to free --- src/state.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/state.c b/src/state.c index 636471a9..a5240ab5 100644 --- a/src/state.c +++ b/src/state.c @@ -149,11 +149,15 @@ pic_close(pic_state *pic) free((void *)pic->sym_pool[i]); } + free(pic->sym_pool); + /* free ireps */ for (i = 0; i < pic->ilen; ++i) { free(pic->irep[i]); } + free(pic->irep); + PIC_BLK_DECREF(pic, pic->blk); free(pic);