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

add missing crfree to avoid leak

(cherry picked from commit 6ce156741b62702e1d1f10f3329f1b77341e32e5)

src/afs/LINUX/osi_vnodeops.c

index f8b84149234565dd5597a0d7593f18b435adea0e..78662c2680936d0d0fabf1497e5a115521d4828c 100644 (file)
@@ -998,6 +998,7 @@ afs_linux_lookup(struct inode *dip, struct dentry *dp)
 #if defined(AFS_LINUX26_ENV)
                unlock_kernel();
 #endif
+               crfree(credp);
                return alias;
            }
        }