Destroy "ioext" as well as "memext" when we're done with it.
This commit is contained in:
parent
d1c7d5dcae
commit
6971634c5e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue