From c2c17a245127cb456840e8dd9db9efc20a71e526 Mon Sep 17 00:00:00 2001 From: Gonglei Date: Fri, 27 Feb 2015 15:50:17 +0800 Subject: [PATCH] milkymist.c: fix memory leak Signed-off-by: Gonglei Signed-off-by: Michael Tokarev --- hw/lm32/milkymist.c | 1 + 1 file changed, 1 insertion(+) 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],