]> git.proxmox.com Git - qemu.git/commit - target-sparc/cpu.c
target-sparc: Fix use of g_new0 / g_free
authorStefan Weil <sw@weilnetz.de>
Tue, 25 Oct 2011 05:16:25 +0000 (07:16 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Tue, 25 Oct 2011 19:30:33 +0000 (19:30 +0000)
commitd300854b1ccd036e0d7c58d789f4ab8d372263e6
tree17454427c1ed752b06ae3b99cf9c4d1c2f1d84e3
parentf37e2a6bb3ee440219a7724722e8c0363cd5dc2e
target-sparc: Fix use of g_new0 / g_free

g_malloc0 needs g_free instead of free.
While fixing this, I also replaced g_malloc0 by g_new0
as was suggested by Stuart Brady.

Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-sparc/cpu_init.c