]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc_sysfw.c
hw/i386/x86: Don't leak "isa-bios" memory regions
authorBernhard Beschow <shentey@gmail.com>
Wed, 8 May 2024 17:55:04 +0000 (19:55 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Wed, 8 May 2024 22:07:09 +0000 (00:07 +0200)
commit32d3ee87a17fc91e981a23dba94855bff89f5920
tree90d6f9c2fbc42dc6cb423fcd65015778f413ba00
parent848351840148f8c3b53ddf6210194506547d3ffd
hw/i386/x86: Don't leak "isa-bios" memory regions

Fix the leaking in x86_bios_rom_init() and pc_isa_bios_init() by adding an
"isa_bios" attribute to X86MachineState.

Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-ID: <20240508175507.22270-4-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/i386/pc_sysfw.c
hw/i386/x86.c
include/hw/i386/x86.h