diff options
author | peter <peter@FreeBSD.org> | 1997-09-18 08:28:23 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-09-18 08:28:23 +0000 |
commit | 06a955a1c516ba684c9497b3f546c1e5e3b4bab6 (patch) | |
tree | cecd2d1c31ff6229e03cf20dc32a105325370f20 /sys/dev/de | |
parent | 9a97b13d56f9d109089ef5eb5260506083224a77 (diff) | |
download | FreeBSD-src-06a955a1c516ba684c9497b3f546c1e5e3b4bab6.zip FreeBSD-src-06a955a1c516ba684c9497b3f546c1e5e3b4bab6.tar.gz |
Missed a place where the extra descriptor buffers would need to be
freed.
Submitted by: Mark Valentine <mark@linus.demon.co.uk>
Diffstat (limited to 'sys/dev/de')
-rw-r--r-- | sys/dev/de/if_de.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c index 4169e30..c2342e3 100644 --- a/sys/dev/de/if_de.c +++ b/sys/dev/de/if_de.c @@ -21,7 +21,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_de.c,v 1.67 1997/09/02 20:06:26 bde Exp $ + * $Id: if_de.c,v 1.68 1997/09/11 15:27:34 peter Exp $ * */ @@ -5125,6 +5125,8 @@ tulip_pci_attach( retval = pci_map_mem(config_id, PCI_CBMA, (vm_offset_t *) &csr_base, &pa_csrs); #endif if (!retval) { + free((caddr_t) sc->tulip_rxdescs, M_DEVBUF); + free((caddr_t) sc->tulip_rxdescs, M_DEVBUF); free((caddr_t) sc, M_DEVBUF); return; } |