mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23: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
|
@ -325,7 +325,7 @@ MemoryRegion *pmac_ide_init (DriveInfo **hd_table, qemu_irq irq,
|
|||
{
|
||||
MACIOIDEState *d;
|
||||
|
||||
d = qemu_mallocz(sizeof(MACIOIDEState));
|
||||
d = g_malloc0(sizeof(MACIOIDEState));
|
||||
ide_init2_with_non_qdev_drives(&d->bus, hd_table[0], hd_table[1], irq);
|
||||
|
||||
if (dbdma)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue