vclosevnodefiles-ihandle-leak-20090216
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 17 Feb 2009 04:37:27 +0000 (04:37 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 17 Feb 2009 04:37:27 +0000 (04:37 +0000)
LICENSE IPL10
FIXES 124359

don't leak ihandles on close. this isn't a complete fix for the issue

src/vol/vnode.c

index 10bbfc3..8f0ab80 100644 (file)
@@ -1667,6 +1667,7 @@ VCloseVnodeFiles_r(Volume * vp)
 
     for (i = 0; i < vec_len; i++) {
        IH_REALLYCLOSE(ih_vec[i]);
+        IH_RELEASE(ih_vec[i]);
     }
 
     free(ih_vec);