mirror of
https://github.com/xemu-project/xemu.git
synced 2025-01-21 03:16:59 +00:00
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);
|
||||
}
|
||||
}
|
||||
g_free(filename);
|
||||
|
||||
/* Reserve space for dtb */
|
||||
dt_base = (loadaddr + bios_size + DTC_LOAD_PAD) & ~DTC_PAD_MASK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user