summaryrefslogtreecommitdiffstats
path: root/sys/dev/aac
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/aac')
-rw-r--r--sys/dev/aac/aac.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c
index a0bc1ad..60d4f1c 100644
--- a/sys/dev/aac/aac.c
+++ b/sys/dev/aac/aac.c
@@ -494,6 +494,10 @@ aac_detach(device_t dev)
aac_free(sc);
+ mtx_destroy(&sc->aac_aifq_lock);
+ mtx_destroy(&sc->aac_io_lock);
+ mtx_destroy(&sc->aac_container_lock);
+
return(0);
}
OpenPOWER on IntegriCloud