target-arm: Fix use of free() in cpu_arm_close()
authorAndreas Färber <afaerber@suse.de>
Mon, 10 Oct 2011 02:52:28 +0000 (02:52 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Oct 2011 14:25:29 +0000 (14:25 +0000)
commit12b1de3a3f026a2e27993b60749122b02509533c
tree56f098e69001c919e6ba53a0f794a9aad6367245
parent1518025641c6c067518c871be7f72a524dc68711
target-arm: Fix use of free() in cpu_arm_close()

env is allocated in cpu_arm_init() with g_malloc0(), so free with g_free().

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/helper.c