revert to use of g_free to make future qemu integrations easier (#695)
* revert to use of g_free to make future qemu integrations easier * bracing
This commit is contained in:
committed by
Nguyen Anh Quynh
parent
6a2eb14ff3
commit
fccbcfd4c2
@@ -108,7 +108,7 @@ static void *qemu_tcg_cpu_loop(struct uc_struct *uc)
|
||||
|
||||
cpu->created = false;
|
||||
qemu_cond_destroy(cpu->halt_cond);
|
||||
free(cpu->halt_cond);
|
||||
g_free(cpu->halt_cond);
|
||||
cpu->halt_cond = NULL;
|
||||
|
||||
qemu_mutex_unlock(&uc->qemu_global_mutex);
|
||||
|
||||
Reference in New Issue
Block a user