projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33c97d0
)
ppc405: Fix memory leak
author
Stefan Weil
<weil@mail.berlios.de>
Sat, 22 Jan 2011 12:02:45 +0000
(13:02 +0100)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Sun, 20 Feb 2011 17:23:07 +0000
(18:23 +0100)
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>
hw/ppc405_boards.c
patch
|
blob
|
history
diff --git
a/hw/ppc405_boards.c
b/hw/ppc405_boards.c
index 9abede7e051cb50b9e8da6601b34817d87faa94e..ad2718102f8edc6194ea97b924243414f8c3a43f 100644
(file)
--- a/
hw/ppc405_boards.c
+++ b/
hw/ppc405_boards.c
@@
-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;
}