mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 06:43:53 -06:00
Use glib memory allocation and free functions
qemu_malloc/qemu_free no longer exist after this commit. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
14015304b6
commit
7267c0947d
357 changed files with 1672 additions and 1674 deletions
|
@ -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() */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue