From: Kevin Hildebrand Date: Tue, 20 Feb 2007 18:04:50 +0000 (+0000) Subject: DEVEL15-linux-lookup-crfree-20070220 X-Git-Tag: openafs-devel-1_5_16~15 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=ef06ea4fde44048eda838dbc16f4815d28e8f355;p=packages%2Fo%2Fopenafs.git DEVEL15-linux-lookup-crfree-20070220 FIXES 54549 add missing crfree to avoid leak (cherry picked from commit 6ce156741b62702e1d1f10f3329f1b77341e32e5) --- diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index f08b7a62a..06e8c0b30 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -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; } }