Add a missing mtx_destroy() in hme_pci_detach().
Reviewed by: yongari Approved by: re (scottl)
This commit is contained in:
parent
82c59ca76e
commit
51a753f9d8
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user