diff options
author | msmith <msmith@FreeBSD.org> | 2000-12-13 02:45:03 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2000-12-13 02:45:03 +0000 |
commit | 67d1b0df5d88a3480ab337b00b404ad7e1b0a1a3 (patch) | |
tree | 3506b411322b8d765ac1ecffb32dc896f6374ffc /sys/dev/pci/pci.c | |
parent | e1fe72742c53537e4980deffe6803189c00560fa (diff) | |
download | FreeBSD-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.c | 2 |
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 */ |