mirror of https://gitee.com/openkylin/qemu.git
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
This commit is contained in:
parent
f4af02ed1b
commit
bb332cb234
|
@ -433,7 +433,7 @@ void cpu_reset(CPUX86State *env)
|
||||||
|
|
||||||
void cpu_x86_close(CPUX86State *env)
|
void cpu_x86_close(CPUX86State *env)
|
||||||
{
|
{
|
||||||
free(env);
|
qemu_free(env);
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************/
|
/***********************************************************/
|
||||||
|
|
Loading…
Reference in New Issue