This fixes LeakSanitizer warnings.
Signed-off-by: Akihiko Odaki <[email protected]>
---
hw/core/cpu-common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/core/cpu-common.c b/hw/core/cpu-common.c
index f131cde2c038..a3073c17d098 100644
--- a/hw/core/cpu-common.c
+++ b/hw/core/cpu-common.c
@@ -289,6 +289,7 @@ static void cpu_common_finalize(Object *obj)
qemu_cond_destroy(cpu->halt_cond);
g_free(cpu->halt_cond);
g_free(cpu->thread);
+ g_free(cpu->cpu_ases);
}
static int64_t cpu_common_get_arch_id(CPUState *cpu)
--
2.45.2