1
0
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:
Christian Ambach 2012-11-02 08:41:40 +01:00 committed by Andrew Bartlett
parent 1a71f07cee
commit 775d0a78c4

View File

@ -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);
}