qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5314] Use qemu_free() on env instead of free.
@ 2008-09-25  3:48 Andrzej Zaborowski
  0 siblings, 0 replies; only message in thread
From: Andrzej Zaborowski @ 2008-09-25  3:48 UTC (permalink / raw)
  To: qemu-devel

Revision: 5314
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5314
Author:   balrog
Date:     2008-09-25 03:47:59 +0000 (Thu, 25 Sep 2008)

Log Message:
-----------
Use qemu_free() on env instead of free.

Fixes a glibc Abort on qemu-x86_64 -cpu foo.

Modified Paths:
--------------
    trunk/target-i386/helper.c

Modified: trunk/target-i386/helper.c
===================================================================
--- trunk/target-i386/helper.c	2008-09-24 16:52:15 UTC (rev 5313)
+++ trunk/target-i386/helper.c	2008-09-25 03:47:59 UTC (rev 5314)
@@ -433,7 +433,7 @@
 
 void cpu_x86_close(CPUX86State *env)
 {
-    free(env);
+    qemu_free(env);
 }
 
 /***********************************************************/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-25  3:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-25  3:48 [Qemu-devel] [5314] Use qemu_free() on env instead of free Andrzej Zaborowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).