]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-linux-unlink-avoid-infrequent-leak-20070222
authorRainer Toebbicke <rtb@pclella.cern.ch>
Thu, 22 Feb 2007 21:41:33 +0000 (21:41 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 22 Feb 2007 21:41:33 +0000 (21:41 +0000)
FIXES 54689

avoid minor leak

(cherry picked from commit 4f86aa379d345c98113bde2169b9d1400dcee89c)

src/afs/LINUX/osi_vnodeops.c

index 06e8c0b30e692907c2ab99bc96ec2e287b0170da..e9b7374229e423a92b738de5bc98fa2466d52a2f 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();