]> git.proxmox.com Git - qemu.git/blobdiff - posix-aio-compat.c
Use glib memory allocation and free functions
[qemu.git] / posix-aio-compat.c
index 8dc00cbb0f1d60710aab47f9efd6e03357016a0f..babb0940dd6c20c9c64bbf146684085a10662b90 100644 (file)
@@ -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() */