summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pci.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-12-13 02:45:03 +0000
committermsmith <msmith@FreeBSD.org>2000-12-13 02:45:03 +0000
commit67d1b0df5d88a3480ab337b00b404ad7e1b0a1a3 (patch)
tree3506b411322b8d765ac1ecffb32dc896f6374ffc /sys/dev/pci/pci.c
parente1fe72742c53537e4980deffe6803189c00560fa (diff)
downloadFreeBSD-src-67d1b0df5d88a3480ab337b00b404ad7e1b0a1a3.zip
FreeBSD-src-67d1b0df5d88a3480ab337b00b404ad7e1b0a1a3.tar.gz
Don't try to free the now-nonexistent hdrspec field. This one snuck by
me in the previous round of patches. Oops.
Diffstat (limited to 'sys/dev/pci/pci.c')
-rw-r--r--sys/dev/pci/pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 49eed85..6eb386c 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -412,8 +412,6 @@ pci_freecfg(struct pci_devinfo *dinfo)
devlist_head = &pci_devq;
- if (dinfo->cfg.hdrspec != NULL)
- free(dinfo->cfg.hdrspec, M_DEVBUF);
if (dinfo->cfg.map != NULL)
free(dinfo->cfg.map, M_DEVBUF);
/* XXX this hasn't been tested */
OpenPOWER on IntegriCloud