Merge pull request #612 from lunixbochs/master

fix free() -> g_free()
This commit is contained in:
Nguyen Anh Quynh 2016-08-11 22:57:48 +08:00 committed by GitHub
commit 6b353fd7a8

View file

@ -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;
}