summaryrefslogtreecommitdiffstats
path: root/sys/dev/de
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-09-18 08:28:23 +0000
committerpeter <peter@FreeBSD.org>1997-09-18 08:28:23 +0000
commit06a955a1c516ba684c9497b3f546c1e5e3b4bab6 (patch)
treececd2d1c31ff6229e03cf20dc32a105325370f20 /sys/dev/de
parent9a97b13d56f9d109089ef5eb5260506083224a77 (diff)
downloadFreeBSD-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.c4
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;
}
OpenPOWER on IntegriCloud