mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -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
|
@ -605,7 +605,7 @@ static int stellaris_sys_init(uint32_t base, qemu_irq irq,
|
|||
int iomemtype;
|
||||
ssys_state *s;
|
||||
|
||||
s = (ssys_state *)qemu_mallocz(sizeof(ssys_state));
|
||||
s = (ssys_state *)g_malloc0(sizeof(ssys_state));
|
||||
s->irq = irq;
|
||||
s->board = board;
|
||||
/* Most devices come preprogrammed with a MAC address in the user data. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue