aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target-i386/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c
index 2b59f2368a..594aa9637a 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -433,7 +433,7 @@ void cpu_reset(CPUX86State *env)
void cpu_x86_close(CPUX86State *env)
{
- free(env);
+ qemu_free(env);
}
/***********************************************************/