Add missing mtx_destroy().

Submitted by:	Sebastian Huber
This commit is contained in:
thompsa 2009-11-08 21:07:47 +00:00
parent 267005bd55
commit fd85a549c6

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