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:
6c5819c
)
milkymist.c: fix memory leak
author
Gonglei
<arei.gonglei@huawei.com>
Fri, 27 Feb 2015 07:50:17 +0000
(15:50 +0800)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Tue, 10 Mar 2015 05:15:34 +0000
(08:15 +0300)
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/lm32/milkymist.c
patch
|
blob
|
history
diff --git
a/hw/lm32/milkymist.c
b/hw/lm32/milkymist.c
index
256c102
..
7f62261
100644
(file)
--- a/
hw/lm32/milkymist.c
+++ b/
hw/lm32/milkymist.c
@@
-155,6
+155,7
@@
milkymist_init(MachineState *machine)
bios_name);
exit(1);
}
+ g_free(bios_filename);
milkymist_uart_create(0x60000000, irq[0]);
milkymist_sysctl_create(0x60001000, irq[1], irq[2], irq[3],