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 --- posix-aio-compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'posix-aio-compat.c') diff --git a/posix-aio-compat.c b/posix-aio-compat.c index 8dc00cbb0f..babb0940dd 100644 --- a/posix-aio-compat.c +++ b/posix-aio-compat.c @@ -634,7 +634,7 @@ int paio_init(void) if (posix_aio_state) return 0; - s = qemu_malloc(sizeof(PosixAioState)); + s = g_malloc(sizeof(PosixAioState)); sigfillset(&act.sa_mask); act.sa_flags = 0; /* do not restart syscalls to interrupt select() */ -- cgit v1.2.3