mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add missing mtx_destroy().
Submitted by: Sebastian Huber
This commit is contained in:
parent
b029f6bb95
commit
9dac8e0ed2
1 changed files with 1 additions and 0 deletions
|
|
@ -1669,6 +1669,7 @@ umass_detach(device_t dev)
|
|||
#if (__FreeBSD_version >= 700037)
|
||||
mtx_unlock(&sc->sc_mtx);
|
||||
#endif
|
||||
mtx_destroy(&sc->sc_mtx);
|
||||
|
||||
return (0); /* success */
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue