Blame SOURCES/pciutils-3.5.6-freefix.patch

eb2128
diff -up pciutils-3.5.6/lspci.c.freefix pciutils-3.5.6/lspci.c
eb2128
--- pciutils-3.5.6/lspci.c.freefix	2018-08-21 16:52:35.087706662 +0200
eb2128
+++ pciutils-3.5.6/lspci.c	2018-08-21 16:52:35.124706469 +0200
eb2128
@@ -128,6 +128,7 @@ scan_device(struct pci_dev *p)
eb2128
       fprintf(stderr, "lspci: Unable to read the standard configuration space header of device %04x:%02x:%02x.%d\n",
eb2128
 	      p->domain, p->bus, p->dev, p->func);
eb2128
       seen_errors++;
eb2128
+      free(d);
eb2128
       return NULL;
eb2128
     }
eb2128
   if ((d->config[PCI_HEADER_TYPE] & 0x7f) == PCI_HEADER_TYPE_CARDBUS)