linux-cleanup-after-check-bad-parent-20010416
[openafs.git] / src / afs / LINUX / osi_misc.c
index e40af34..d9b0515 100644 (file)
@@ -411,7 +411,9 @@ void check_bad_parent(struct dentry *dp)
                 ICL_TYPE_POINTER, avc,
                 ICL_TYPE_POINTER, dp);
     }
-    
+    if (avc)
+       AFS_RELE(avc);
+    crfree(credp);
   } /* if bad parent */
  
   return;