Merge branch 'master' into irep-gc
This commit is contained in:
commit
82e205bbd0
|
@ -149,11 +149,15 @@ pic_close(pic_state *pic)
|
||||||
free((void *)pic->sym_pool[i]);
|
free((void *)pic->sym_pool[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(pic->sym_pool);
|
||||||
|
|
||||||
/* free ireps */
|
/* free ireps */
|
||||||
for (i = 0; i < pic->ilen; ++i) {
|
for (i = 0; i < pic->ilen; ++i) {
|
||||||
free(pic->irep[i]);
|
free(pic->irep[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(pic->irep);
|
||||||
|
|
||||||
PIC_BLK_DECREF(pic, pic->blk);
|
PIC_BLK_DECREF(pic, pic->blk);
|
||||||
|
|
||||||
free(pic);
|
free(pic);
|
||||||
|
|
Loading…
Reference in New Issue