From f99030179cab0a4ddf239f809f4a018a6ef112fd Mon Sep 17 00:00:00 2001 From: Ryan Hileman Date: Thu, 11 Aug 2016 07:49:04 -0700 Subject: [PATCH] fix free() -> g_free() --- qemu/cpus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/cpus.c b/qemu/cpus.c index 0dc3346f..9f21d441 100644 --- a/qemu/cpus.c +++ b/qemu/cpus.c @@ -122,7 +122,7 @@ static void *qemu_tcg_cpu_loop(struct uc_struct *uc) CPU_FOREACH(cpu) { cpu->created = false; qemu_cond_destroy(cpu->halt_cond); - free(cpu->halt_cond); + g_free(cpu->halt_cond); cpu->halt_cond = NULL; }