From: Rainer Toebbicke Date: Thu, 19 Apr 2007 05:10:35 +0000 (+0000) Subject: STABLE14-linux-unlink-avoid-infrequent-leak-20070222 X-Git-Tag: openafs-stable-1_4_5-pre1~129 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=99aff77ac9e169cb2a50269756518567052df76a;p=packages%2Fo%2Fopenafs.git STABLE14-linux-unlink-avoid-infrequent-leak-20070222 FIXES 54689 avoid minor leak (cherry picked from commit 4f86aa379d345c98113bde2169b9d1400dcee89c) --- diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index efc552dfc..a259faee6 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -1091,6 +1091,8 @@ afs_linux_unlink(struct inode *dip, struct dentry *dp) } tvc->uncred = credp; tvc->states |= CUnlinked; + } else { + osi_FreeSmallSpace(__name); } AFS_GUNLOCK();