some global stacks are missed to free

This commit is contained in:
Yuichi Nishiwaki 2014-01-18 16:58:14 +09:00
parent b62374b4b4
commit 9d18af51da
1 changed files with 4 additions and 0 deletions

View File

@ -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);