« Previous | Next » 

Revision be7052c2

IDbe7052c2a8f667f1dc42b06afcebb964ee0b03ff

Added by Isaku Yamahata about 13 years ago

pci: memory leak of PCIDevice::rom_file

PCIDevice::rom_file is leaked.
PCIDevice::rom_file is allocated in pci_qdev_init(), but not freed anywhere.
free it in qemu_unregister_device().

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences