diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-25 03:47:59 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-25 03:47:59 +0000 |
commit | bb332cb23412619d41cb10a7c65a5d120555470f (patch) | |
tree | eaa058d4cf6568dcbd1db5d69c69678b0d0d02fa /target-i386/helper.c | |
parent | f4af02ed1bb688ffd8a944b878c6b57b508dbc03 (diff) |
Use qemu_free() on env instead of free.
Fixes a glibc Abort on qemu-x86_64 -cpu foo.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5314 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/helper.c')
-rw-r--r-- | target-i386/helper.c | 2 |
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); } /***********************************************************/ |