git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3925a71
)
s3:vfs_gpfs fix memory leak in gpfs_get_nfs4_acl
author
Christian Ambach
<ambi@samba.org>
Fri, 2 Nov 2012 07:39:45 +0000
(08:39 +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 edf027371179b307cf1ba895a8a75d71e14b20e5..e425d2f1c31ab3362f24333247a0f6211d5759d3 100644
(file)
--- a/
source3/modules/vfs_gpfs.c
+++ b/
source3/modules/vfs_gpfs.c
@@
-288,6
+288,7
@@
static int gpfs_get_nfs4_acl(const char *fname, SMB4ACL_T **ppacl)
if (gacl->acl_type != GPFS_ACL_TYPE_NFS4) {
DEBUG(10, ("Got non-nfsv4 acl\n"));
/* Retry with POSIX ACLs check */
+ talloc_free(gacl);
return 1;
}