mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
s3:vfs_gpfs fix a memory leak in gpfsacl_get_posix_acl
Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
1a71f07cee
commit
775d0a78c4
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user