From: Christian Ambach Date: Fri, 2 Nov 2012 07:39:45 +0000 (+0100) Subject: s3:vfs_gpfs fix memory leak in gpfs_get_nfs4_acl X-Git-Url: http://git.samba.org/?p=metze%2Fsamba%2Fwip.git;a=commitdiff_plain;h=3dab1ef8a57670a36a81e706895bbe225892f3ff s3:vfs_gpfs fix memory leak in gpfs_get_nfs4_acl Signed-off-by: Christian Ambach Reviewed-by: Andrew Bartlett --- diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index edf027371179..e425d2f1c31a 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; }