mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
ppc405: Fix memory leak
Signed-off-by: Stefan Weil <weil@mail.berlios.de> Acked-by: Andreas Färber <andreas.faerber@web.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
committed by
Aurelien Jarno
parent
386bbf4572
commit
e98ccb3fbb
@@ -560,6 +560,7 @@ static void taihu_405ep_init(ram_addr_t ram_size,
|
||||
filename = qemu_find_file(QEMU_FILE_TYPE_BIOS, bios_name);
|
||||
if (filename) {
|
||||
bios_size = load_image(filename, qemu_get_ram_ptr(bios_offset));
|
||||
qemu_free(filename);
|
||||
} else {
|
||||
bios_size = -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user