Fix memory leak of custom helpers

This commit is contained in:
lazymio
2022-01-20 19:50:57 +01:00
parent bbfb376a88
commit 55b4865945
3 changed files with 6 additions and 0 deletions

View File

@ -49,6 +49,7 @@ static void release_common(void *t)
}
tcg_pool_reset(s);
g_hash_table_destroy(s->helper_table);
g_hash_table_destroy(s->custom_helper_infos);
g_free(s->indirect_reg_alloc_order);
/* qemu/tcg/tcg/c:4018: img = g_malloc(img_size); */
g_free((void *)(s->one_entry->symfile_addr));