X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=hw%2Fmilkymist.c;h=93288c8401951d3a7f15c5be95cf4236bd7d6a82;hb=7267c0947d7e8ae5dff7bafd932c3bc285f43e5c;hp=787984040f5202ae85f123acbcdbeda39ad00153;hpb=14015304b662e8f8ccce46c5a6927af6a14c510b;p=mirror_qemu.git diff --git a/hw/milkymist.c b/hw/milkymist.c index 787984040f..93288c8401 100644 --- a/hw/milkymist.c +++ b/hw/milkymist.c @@ -99,7 +99,7 @@ milkymist_init(ram_addr_t ram_size_not_used, target_phys_addr_t cmdline_base = sdram_base + 0x1000000; size_t initrd_max = sdram_size - 0x1002000; - reset_info = qemu_mallocz(sizeof(ResetInfo)); + reset_info = g_malloc0(sizeof(ResetInfo)); if (cpu_model == NULL) { cpu_model = "lm32-full";