diff options
| author | David Greenman <dg@FreeBSD.org> | 1995-10-02 13:43:11 +0000 |
|---|---|---|
| committer | David Greenman <dg@FreeBSD.org> | 1995-10-02 13:43:11 +0000 |
| commit | df31aac551a343b4d00a0ec5cee4b849fe31a915 (patch) | |
| tree | 6bc6dfa4d72aa05ea8743a890ceaca0ff0a7b6c3 | |
| parent | c4bc3d3ffa5c953b9d56a5bb2a3043901ccfa3a3 (diff) | |
Notes
| -rw-r--r-- | sys/dev/pci/pci.c | 4 | ||||
| -rw-r--r-- | sys/pci/pci.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index 5d9a6df7323b..50337e5c41e3 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pci.c,v 1.30 1995/09/14 13:09:40 se Exp $ +** $Id: pci.c,v 1.31 1995/09/14 23:24:29 se Exp $ ** ** General subroutines for the PCI bus. ** pci_configure () @@ -1369,7 +1369,7 @@ fail: ** If included in mask, remove it. */ - if (free) free (new, M_DEVBUF); + if (new) free(new, M_DEVBUF); if (!mdp) (void) pcibus->pb_imaskexc (irq, maskptr); splx (oldspl); return (0); diff --git a/sys/pci/pci.c b/sys/pci/pci.c index 5d9a6df7323b..50337e5c41e3 100644 --- a/sys/pci/pci.c +++ b/sys/pci/pci.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pci.c,v 1.30 1995/09/14 13:09:40 se Exp $ +** $Id: pci.c,v 1.31 1995/09/14 23:24:29 se Exp $ ** ** General subroutines for the PCI bus. ** pci_configure () @@ -1369,7 +1369,7 @@ fail: ** If included in mask, remove it. */ - if (free) free (new, M_DEVBUF); + if (new) free(new, M_DEVBUF); if (!mdp) (void) pcibus->pb_imaskexc (irq, maskptr); splx (oldspl); return (0); |
