From 6971634c5e0cfbc2b4e90b58ef6062aad99366c5 Mon Sep 17 00:00:00 2001 From: simonb Date: Fri, 1 Nov 2002 09:16:28 +0000 Subject: [PATCH] Destroy "ioext" as well as "memext" when we're done with it. --- sys/arch/walnut/pci/pchb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/walnut/pci/pchb.c b/sys/arch/walnut/pci/pchb.c index 68265160d53a..fb7d0f7227ac 100644 --- a/sys/arch/walnut/pci/pchb.c +++ b/sys/arch/walnut/pci/pchb.c @@ -1,4 +1,4 @@ -/* $NetBSD: pchb.c,v 1.12 2002/10/02 16:02:39 thorpej Exp $ */ +/* $NetBSD: pchb.c,v 1.13 2002/11/01 09:16:28 simonb Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -150,6 +150,7 @@ pchbattach(struct device *parent, struct device *self, void *aux) MIN_PCI_PCI_IOADDR + 0xffff, M_DEVBUF, NULL, 0, EX_NOWAIT); pci_configure_bus(0, ioext, memext, NULL, 0, 32); extent_destroy(memext); + extent_destroy(ioext); #endif /* PCI_NETBSD_CONFIGURE */ #ifdef PCI_CONFIGURE_VERBOSE