mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00: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:
@@ -986,7 +986,7 @@ PXA2xxLCDState *pxa2xx_lcdc_init(target_phys_addr_t base, qemu_irq irq)
|
||||
int iomemtype;
|
||||
PXA2xxLCDState *s;
|
||||
|
||||
s = (PXA2xxLCDState *) qemu_mallocz(sizeof(PXA2xxLCDState));
|
||||
s = (PXA2xxLCDState *) g_malloc0(sizeof(PXA2xxLCDState));
|
||||
s->invalidated = 1;
|
||||
s->irq = irq;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user