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
|
@ -579,7 +579,7 @@ TC6393xbState *tc6393xb_init(uint32_t base, qemu_irq irq)
|
|||
tc6393xb_writel,
|
||||
};
|
||||
|
||||
s = (TC6393xbState *) qemu_mallocz(sizeof(TC6393xbState));
|
||||
s = (TC6393xbState *) g_malloc0(sizeof(TC6393xbState));
|
||||
s->irq = irq;
|
||||
s->gpio_in = qemu_allocate_irqs(tc6393xb_gpio_set, s, TC6393XB_GPIOS);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue