mirror of
https://github.com/qemu/qemu.git
synced 2024-12-03 16:53:53 +08:00
hw/arm/vexpress: Don't double-free flash filename
Commits6e05a12f8f
anddb25a1581
both attempt to fix the same "failed to free memory containing flash filename" bug, with the effect that when they were both applied we ended up freeing the memory twice. Delete the spurious extra free. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Stefan Weil <sw@weilnetz.de> Message-id: 1427968334-14527-1-git-send-email-peter.maydell@linaro.org
This commit is contained in:
parent
c408d27a42
commit
11f10cf805
@ -583,7 +583,6 @@ static void vexpress_common_init(MachineState *machine)
|
||||
error_report("Could not load ROM image '%s'", bios_name);
|
||||
exit(1);
|
||||
}
|
||||
g_free(fn);
|
||||
}
|
||||
|
||||
/* Motherboard peripherals: the wiring is the same but the
|
||||
|
Loading…
Reference in New Issue
Block a user