git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a71f07
)
s3:vfs_gpfs fix a memory leak in gpfsacl_get_posix_acl
author
Christian Ambach
<ambi@samba.org>
Fri, 2 Nov 2012 07:41:40 +0000
(08:41 +0100)
committer
Andrew Bartlett
<abartlet@samba.org>
Fri, 16 Nov 2012 22:28:21 +0000
(23:28 +0100)
Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/modules/vfs_gpfs.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_gpfs.c
b/source3/modules/vfs_gpfs.c
index f5ac7eb4fb738347d1dd5c538139d6b1dcb5a997..8f5a19cd602b551661a2aa35adc674860a73c67e 100644
(file)
--- a/
source3/modules/vfs_gpfs.c
+++ b/
source3/modules/vfs_gpfs.c
@@
-663,6
+663,9
@@
static SMB_ACL_T gpfsacl_get_posix_acl(const char *path, gpfs_aclType_t type,
done:
+ if (pacl != NULL) {
+ talloc_free(pacl);
+ }
if (errno != 0) {
TALLOC_FREE(result);
}