Revision 7267c094 hw/omap_sdrc.c

b/hw/omap_sdrc.c
153 153
{
154 154
    int iomemtype;
155 155
    struct omap_sdrc_s *s = (struct omap_sdrc_s *)
156
            qemu_mallocz(sizeof(struct omap_sdrc_s));
156
            g_malloc0(sizeof(struct omap_sdrc_s));
157 157

  
158 158
    omap_sdrc_reset(s);
159 159

  

Also available in: Unified diff