From: Abhidnya Joshi Date: Mon, 26 Aug 2013 07:01:49 +0000 (+0530) Subject: s3: fix missing braces in nfs4_acls.c X-Git-Tag: talloc-2.1.0~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91186fcf9da6fa1180d9d773882a388e78c4c3b9;p=thirdparty%2Fsamba.git s3: fix missing braces in nfs4_acls.c Reviewed-by: Jeremy Allison Reviewed-by: Simo Sorce Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Wed Aug 28 20:25:56 CEST 2013 on sn-devel-104 --- diff --git a/source3/modules/nfs4_acls.c b/source3/modules/nfs4_acls.c index dab1a2abe4c..500cb4772a3 100644 --- a/source3/modules/nfs4_acls.c +++ b/source3/modules/nfs4_acls.c @@ -987,9 +987,10 @@ NTSTATUS smb_set_nt_acl_nfs4(vfs_handle_struct *handle, files_struct *fsp, (unsigned int)newGID)); if (smbacl4_GetFileOwner(fsp->conn, fsp->fsp_name->base_name, - &sbuf)) + &sbuf)){ TALLOC_FREE(frame); return map_nt_error_from_unix(errno); + } /* If we successfully chowned, we know we must * be able to set the acl, so do it as root.