Message ID | 1432814932-12608-20-git-send-email-zhaoshenglong@huawei.com |
---|---|
State | New |
Headers | show |
diff --git a/hw/openrisc/pic_cpu.c b/hw/openrisc/pic_cpu.c index 2af1d60..8347f5c 100644 --- a/hw/openrisc/pic_cpu.c +++ b/hw/openrisc/pic_cpu.c @@ -57,4 +57,5 @@ void cpu_openrisc_pic_init(OpenRISCCPU *cpu) for (i = 0; i < NR_IRQS; i++) { cpu->env.irq[i] = qi[i]; } + g_free(qi); }