Revision 7267c094 hw/pxa2xx_pcmcia.c

b/hw/pxa2xx_pcmcia.c
136 136
    PXA2xxPCMCIAState *s;
137 137

  
138 138
    s = (PXA2xxPCMCIAState *)
139
            qemu_mallocz(sizeof(PXA2xxPCMCIAState));
139
            g_malloc0(sizeof(PXA2xxPCMCIAState));
140 140

  
141 141
    /* Socket I/O Memory Space */
142 142
    iomemtype = cpu_register_io_memory(pxa2xx_pcmcia_io_readfn,

Also available in: Unified diff