mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
sparc/leon3.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
9d0b65e6e8
commit
d71cdbfd54
1 changed files with 1 additions and 0 deletions
|
@ -186,6 +186,7 @@ static void leon3_generic_hw_init(MachineState *machine)
|
|||
fprintf(stderr, "Can't read bios image %s\n", filename);
|
||||
exit(1);
|
||||
}
|
||||
g_free(filename);
|
||||
|
||||
/* Can directly load an application. */
|
||||
if (kernel_filename != NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue