aboutsummaryrefslogtreecommitdiff
path: root/hw/mcf_intc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/mcf_intc.c')
-rw-r--r--hw/mcf_intc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mcf_intc.c b/hw/mcf_intc.c
index 6cb0a09b7f..99092e72d1 100644
--- a/hw/mcf_intc.c
+++ b/hw/mcf_intc.c
@@ -144,7 +144,7 @@ qemu_irq *mcf_intc_init(target_phys_addr_t base, CPUState *env)
mcf_intc_state *s;
int iomemtype;
- s = qemu_mallocz(sizeof(mcf_intc_state));
+ s = g_malloc0(sizeof(mcf_intc_state));
s->env = env;
mcf_intc_reset(s);