summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/uts/common/io/inotify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/uts/common/io/inotify.c b/usr/src/uts/common/io/inotify.c
index 3af79a0165..9e5f22539c 100644
--- a/usr/src/uts/common/io/inotify.c
+++ b/usr/src/uts/common/io/inotify.c
@@ -1335,6 +1335,7 @@ inotify_close(dev_t dev, int flag, int otyp, cred_t *cred_p)
*sp = (*sp)->ins_next;
crfree(state->ins_cred);
+ vmem_destroy(state->ins_wds);
ddi_soft_state_free(inotify_softstate, minor);
vmem_free(inotify_minor, (void *)(uintptr_t)minor, 1);