From 7267c0947d7e8ae5dff7bafd932c3bc285f43e5c Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Sat, 20 Aug 2011 22:09:37 -0500 Subject: Use glib memory allocation and free functions qemu_malloc/qemu_free no longer exist after this commit. Signed-off-by: Anthony Liguori --- hw/stellaris_enet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/stellaris_enet.c') diff --git a/hw/stellaris_enet.c b/hw/stellaris_enet.c index 1291931..f9bd3da 100644 --- a/hw/stellaris_enet.c +++ b/hw/stellaris_enet.c @@ -393,7 +393,7 @@ static void stellaris_enet_cleanup(VLANClientState *nc) cpu_unregister_io_memory(s->mmio_index); - qemu_free(s); + g_free(s); } static NetClientInfo net_stellaris_enet_info = { -- cgit v1.1