git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6ce1567
)
linux-unlink-avoid-infrequent-leak-20070222
author
Rainer Toebbicke
<rtb@pclella.cern.ch>
Thu, 22 Feb 2007 21:40:11 +0000 (21:40 +0000)
committer
Derrick 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
patch
|
blob
|
history
diff --git
a/src/afs/LINUX/osi_vnodeops.c
b/src/afs/LINUX/osi_vnodeops.c
index
295dc4c
..
3da1aa6
100644
(file)
--- a/
src/afs/LINUX/osi_vnodeops.c
+++ b/
src/afs/LINUX/osi_vnodeops.c
@@
-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();