linux-unlink-avoid-infrequent-leak-20070222
authorRainer Toebbicke <rtb@pclella.cern.ch>
Thu, 22 Feb 2007 21:40:11 +0000 (21:40 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 22 Feb 2007 21:40:11 +0000 (21:40 +0000)
FIXES 54689

avoid minor leak

src/afs/LINUX/osi_vnodeops.c

index 295dc4c..3da1aa6 100644 (file)
@@ -1127,6 +1127,8 @@ afs_linux_unlink(struct inode *dip, struct dentry *dp)
             }
             tvc->uncred = credp;
            tvc->states |= CUnlinked;
+       } else {
+           osi_FreeSmallSpace(__name); 
        }
        AFS_GUNLOCK();