From 99aff77ac9e169cb2a50269756518567052df76a Mon Sep 17 00:00:00 2001 From: Rainer Toebbicke Date: Thu, 19 Apr 2007 05:10:35 +0000 Subject: [PATCH] STABLE14-linux-unlink-avoid-infrequent-leak-20070222 FIXES 54689 avoid minor leak (cherry picked from commit 4f86aa379d345c98113bde2169b9d1400dcee89c) --- src/afs/LINUX/osi_vnodeops.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index efc552dfc8..a259faee6c 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();