]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
linux-lookup-crfree-20070220
authorKevin Hildebrand <kevin@umd.edu>
Tue, 20 Feb 2007 18:03:26 +0000 (18:03 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 20 Feb 2007 18:03:26 +0000 (18:03 +0000)
FIXES 54549

add missing crfree to avoid leak

src/afs/LINUX/osi_vnodeops.c

index f5f8fa1599546073826f43d24fd7a8384022ffdd..295dc4c5bc4dd4f42ef6f3c35096fc0fbcbef5d2 100644 (file)
@@ -1025,6 +1025,7 @@ afs_linux_lookup(struct inode *dip, struct dentry *dp)
 #if defined(AFS_LINUX26_ENV)
                unlock_kernel();
 #endif
+               crfree(credp);
                return alias;
            }
        }