]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/pci.c
Merge commit 'ff71f2e8cacefae99179993204172bc65e4303df' into staging
[mirror_qemu.git] / hw / pci.c
index 6d08cef87b54493b7b3f6c04fb45474ad13c620f..b706e6980a6184b389632b4da056166866b40081 100644 (file)
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -841,7 +841,6 @@ static int pci_unregister_device(DeviceState *dev)
 
     pci_unregister_io_regions(pci_dev);
     pci_del_option_rom(pci_dev);
-    g_free(pci_dev->romfile);
     do_pci_unregister_device(pci_dev);
     return 0;
 }