diff options
author | Christian Ambach <ambi@samba.org> | 2012-11-02 08:39:45 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-11-16 23:28:21 +0100 |
commit | 3dab1ef8a57670a36a81e706895bbe225892f3ff (patch) | |
tree | 7b0dac43f2f6a4c9d363c4b7cf28551eb1516b65 /source3 | |
parent | 3925a7114caaac56e79849ebf3aa13784918282b (diff) | |
download | samba-3dab1ef8a57670a36a81e706895bbe225892f3ff.tar.gz samba-3dab1ef8a57670a36a81e706895bbe225892f3ff.tar.bz2 samba-3dab1ef8a57670a36a81e706895bbe225892f3ff.zip |
s3:vfs_gpfs fix memory leak in gpfs_get_nfs4_acl
Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_gpfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index edf0273711..e425d2f1c3 100644 --- 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; } |