From 3dab1ef8a57670a36a81e706895bbe225892f3ff Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Fri, 2 Nov 2012 08:39:45 +0100 Subject: [PATCH] s3:vfs_gpfs fix memory leak in gpfs_get_nfs4_acl Signed-off-by: Christian Ambach Reviewed-by: Andrew Bartlett --- source3/modules/vfs_gpfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index edf02737117..e425d2f1c31 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; } -- 2.11.4.GIT