mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-08 16:07:39 -06:00
x86: Drop superfluous conditionals around g_free()
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
18cd2c17b5
commit
18fc805534
1 changed files with 1 additions and 3 deletions
|
@ -204,9 +204,7 @@ static void old_pc_system_rom_init(MemoryRegion *rom_memory, bool isapc_ram_fw)
|
||||||
fprintf(stderr, "qemu: could not load PC BIOS '%s'\n", bios_name);
|
fprintf(stderr, "qemu: could not load PC BIOS '%s'\n", bios_name);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
if (filename) {
|
g_free(filename);
|
||||||
g_free(filename);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* map the last 128KB of the BIOS in ISA space */
|
/* map the last 128KB of the BIOS in ISA space */
|
||||||
isa_bios_size = bios_size;
|
isa_bios_size = bios_size;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue