]> Git Repo - qemu.git/commit
linux-user: Fix exit syscall with QOM CPU
authorAndreas Färber <[email protected]>
Sun, 15 Apr 2012 16:51:01 +0000 (18:51 +0200)
committerBlue Swirl <[email protected]>
Sun, 15 Apr 2012 16:54:46 +0000 (16:54 +0000)
commit11ea40905259f29e448af816ff00d9d9f0951818
tree15faac0729250a36046ea28743f934fe47cbcfb9
parentda12872a0973718997c00f1c1e8e5b91ee4c713a
linux-user: Fix exit syscall with QOM CPU

For QOM'ified CPUs we cannot g_free() CPUArchState, we must
object_delete() the object it is embedded into.

Fixes LP#982321 (invalid free() while executing pacman with qemu-arm).

Reported-by: Serge Schneider <[email protected]>
Reported-by: Russell Keith Davis <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
Tested-by: Serge Schneider <[email protected]>
Tested-by: Russell Keith Davis <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
linux-user/syscall.c
This page took 0.027348 seconds and 4 git commands to generate.