Add missing mtx_destroy().

Submitted by:	Sebastian Huber
This commit is contained in:
Andrew Thompson 2009-11-08 21:07:47 +00:00
parent b029f6bb95
commit 9dac8e0ed2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=199061

View File

@ -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 */
}