diff options
author | Gonglei <arei.gonglei@huawei.com> | 2015-02-27 15:50:17 +0800 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-03-10 08:15:34 +0300 |
commit | c2c17a245127cb456840e8dd9db9efc20a71e526 (patch) | |
tree | 776d74eb7a94e595983fda6f5d4826470453867c /hw/lm32/milkymist.c | |
parent | 6c5819c4d685bf5f3c81edb462f4d17fb99ca2b5 (diff) |
milkymist.c: fix memory leak
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/lm32/milkymist.c')
-rw-r--r-- | hw/lm32/milkymist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/lm32/milkymist.c b/hw/lm32/milkymist.c index 256c1029ce..7f622610d2 100644 --- 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], |