mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
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>
This commit is contained in:
parent
3925a7114c
commit
3dab1ef8a5
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user