mirror of https://gitee.com/openkylin/qemu.git
hw/ppc/e500.c: Fix memory leak
Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com> Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
c18f855697
commit
f19377bf23
|
@ -1030,6 +1030,7 @@ void ppce500_init(MachineState *machine, PPCE500Params *params)
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
g_free(filename);
|
||||||
|
|
||||||
/* Reserve space for dtb */
|
/* Reserve space for dtb */
|
||||||
dt_base = (loadaddr + bios_size + DTC_LOAD_PAD) & ~DTC_PAD_MASK;
|
dt_base = (loadaddr + bios_size + DTC_LOAD_PAD) & ~DTC_PAD_MASK;
|
||||||
|
|
Loading…
Reference in New Issue