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/wm8750.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/wm8750.c') diff --git a/hw/wm8750.c b/hw/wm8750.c index c9c674451b..39383f43e5 100644 --- a/hw/wm8750.c +++ b/hw/wm8750.c @@ -625,7 +625,7 @@ static void wm8750_fini(i2c_slave *i2c) WM8750State *s = (WM8750State *) i2c; wm8750_reset(&s->i2c); AUD_remove_card(&s->card); - qemu_free(s); + g_free(s); } #endif -- cgit 1.4.1