Add missing mtx_destroy().
Submitted by: Sebastian Huber
This commit is contained in:
parent
b029f6bb95
commit
9dac8e0ed2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=199061
@ -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 New Issue
Block a user