Add missing mtx_destroy().
Submitted by: Sebastian Huber
This commit is contained in:
parent
267005bd55
commit
fd85a549c6
@ -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…
x
Reference in New Issue
Block a user