aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hme
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2005-07-10 10:36:45 +0000
committerMarius Strobl <marius@FreeBSD.org>2005-07-10 10:36:45 +0000
commit51a753f9d8aaa59cc43f9f2072272e4aa8253d24 (patch)
tree9e197f1c492ec985ca476ce7d3a2390fd016bbda /sys/dev/hme
parent82c59ca76e915acaccb10854d787bcce4464656b (diff)
Notes
Diffstat (limited to 'sys/dev/hme')
-rw-r--r--sys/dev/hme/if_hme_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/hme/if_hme_pci.c b/sys/dev/hme/if_hme_pci.c
index 8d778465088f..ade6e19d631b 100644
--- a/sys/dev/hme/if_hme_pci.c
+++ b/sys/dev/hme/if_hme_pci.c
@@ -377,6 +377,7 @@ hme_pci_detach(device_t dev)
hme_detach(sc);
bus_release_resource(dev, SYS_RES_IRQ, hsc->hsc_irid, hsc->hsc_ires);
bus_release_resource(dev, SYS_RES_MEMORY, hsc->hsc_srid, hsc->hsc_sres);
+ mtx_destroy(&sc->sc_lock);
return (0);
}