git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
libafscp: Fix leak when afscp_ResolvPath errors
[openafs.git]
/
src
/
libafscp
/
afscp_dir.c
diff --git
a/src/libafscp/afscp_dir.c
b/src/libafscp/afscp_dir.c
index
852a59f
..
ff05387
100644
(file)
--- a/
src/libafscp/afscp_dir.c
+++ b/
src/libafscp/afscp_dir.c
@@
-713,6
+713,7
@@
afscp_ResolvePath(const char *path)
}
cell = afscp_DefaultCell();
if (cell == NULL) {
+ free(p);
afscp_errno = EINVAL;
return NULL;
}