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 --- qemu-tool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qemu-tool.c') diff --git a/qemu-tool.c b/qemu-tool.c index 41e5c4156a..eb89fe0c1b 100644 --- a/qemu-tool.c +++ b/qemu-tool.c @@ -76,12 +76,12 @@ void qemu_notify_event(void) QEMUTimer *qemu_new_timer(QEMUClock *clock, int scale, QEMUTimerCB *cb, void *opaque) { - return qemu_malloc(1); + return g_malloc(1); } void qemu_free_timer(QEMUTimer *ts) { - qemu_free(ts); + g_free(ts); } void qemu_del_timer(QEMUTimer *ts) -- cgit v1.2.1