Revision 7267c094 hw/omap_gptimer.c

b/hw/omap_gptimer.c
465 465
{
466 466
    int iomemtype;
467 467
    struct omap_gp_timer_s *s = (struct omap_gp_timer_s *)
468
            qemu_mallocz(sizeof(struct omap_gp_timer_s));
468
            g_malloc0(sizeof(struct omap_gp_timer_s));
469 469

  
470 470
    s->ta = ta;
471 471
    s->irq = irq;

Also available in: Unified diff