mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue