memleak: missing from refactoring

This commit is contained in:
danghvu
2016-07-08 12:49:43 -05:00
parent 6b9f17f2f7
commit 117a318188
2 changed files with 3 additions and 2 deletions

View File

@@ -52,6 +52,7 @@ static void release_common(void *t)
phys_mem_clean(s->uc);
address_space_destroy(&(s->uc->as));
memory_free(s->uc);
tb_cleanup(s->uc);
#if TCG_TARGET_REG_BITS == 32
for(i = 0; i < s->nb_globals; i++) {