diff options
author | marius <marius@FreeBSD.org> | 2005-07-10 10:36:45 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2005-07-10 10:36:45 +0000 |
commit | edf793c1f909dd392bd89b05ee9a755213538205 (patch) | |
tree | 9e197f1c492ec985ca476ce7d3a2390fd016bbda | |
parent | 05e74e9c36a7cca171b25721e2254f4054ea0ac0 (diff) | |
download | FreeBSD-src-edf793c1f909dd392bd89b05ee9a755213538205.zip FreeBSD-src-edf793c1f909dd392bd89b05ee9a755213538205.tar.gz |
Add a missing mtx_destroy() in hme_pci_detach().
Reviewed by: yongari
Approved by: re (scottl)
-rw-r--r-- | sys/dev/hme/if_hme_pci.c | 1 |
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 8d77846..ade6e19 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); } |