milkymist.c: fix memory leak
Signed-off-by: Gonglei <arei.gonglei@huawei.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
6c5819c4d6
commit
c2c17a2451
@ -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],
|
||||
|
Loading…
Reference in New Issue
Block a user