Revision 7267c094 target-arm/helper.c

b/target-arm/helper.c
384 384
    id = cpu_arm_find_by_name(cpu_model);
385 385
    if (id == 0)
386 386
        return NULL;
387
    env = qemu_mallocz(sizeof(CPUARMState));
387
    env = g_malloc0(sizeof(CPUARMState));
388 388
    cpu_exec_init(env);
389 389
    if (!inited) {
390 390
        inited = 1;

Also available in: Unified diff