Skip to content
Snippets Groups Projects
Commit d71cdbfd authored by Gonglei (Arei)'s avatar Gonglei (Arei) Committed by Michael Tokarev
Browse files

sparc/leon3.c: fix memory leak


Signed-off-by: default avatarGonglei <arei.gonglei@huawei.com>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
parent 9d0b65e6
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment