Re: [Qemu-devel] [PATCH] linux-user: Fix exit syscall with QOM CPU

2012-04-15 Thread Peter Maydell
On 15 April 2012 15:39, Andreas Färber wrote: > For QOM'ified CPUs we cannot g_free() CPUArchState, we must > object_delete() the object it is embedded into. > > Should fix LP#982321 (invalid free() while executing pacman w/qemu-arm). > > Reported-by: Serge Schneider > Signed-off-by: Andreas Färb

[Qemu-devel] [PATCH] linux-user: Fix exit syscall with QOM CPU

2012-04-15 Thread Andreas Färber
For QOM'ified CPUs we cannot g_free() CPUArchState, we must object_delete() the object it is embedded into. Should fix LP#982321 (invalid free() while executing pacman w/qemu-arm). Reported-by: Serge Schneider Signed-off-by: Andreas Färber Cc: Peter Maydell --- linux-user/syscall.c |4 +++