Remove all uses of the NT_STATUS_NOT_OK_RETURN_AND_FREE macro from the codebase.
authorGarming Sam <garming@catalyst.net.nz>
Fri, 14 Feb 2014 05:04:22 +0000 (18:04 +1300)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 5 Mar 2014 15:33:22 +0000 (16:33 +0100)
commit0b8213ae1cd0129b7a50cf7ba3605512a990520f
treee30b7e9f85f1f391060101a833928904f44dbed0
parent856c74e013eaa53902479b771e6c0cf1fea67745
Remove all uses of the NT_STATUS_NOT_OK_RETURN_AND_FREE macro from the codebase.

Following the current coding guidelines, it is considered bad practice to return from
within a macro and change control flow as they look like normal function calls.

Change-Id: I421e169275fe323e2b019c6cc5d386289aec07f7
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/auth/auth_samba4.c
source4/auth/session.c
source4/ntvfs/posix/pvfs_acl.c
source4/rpc_server/lsa/dcesrv_lsa.c
source4/torture/util_smb.c
source4/wrepl_server/wrepl_in_call.c