Remove a number of NT_STATUS_HAVE_NO_MEMORY_AND_FREE macros from the codebase.
authorGarming Sam <garming@catalyst.net.nz>
Thu, 13 Feb 2014 04:51:11 +0000 (17:51 +1300)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 5 Mar 2014 15:33:21 +0000 (16:33 +0100)
commit952bc3cad05467959ba5aa08682d754bd80d543b
treeec59adb15fc07fbc6c50b9eeeeb17a7dada26905
parent1f60aa8ec2e685517235aadbc11324d3b4a1a74d
Remove a number of NT_STATUS_HAVE_NO_MEMORY_AND_FREE macros 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: I133eb5a699757ae57b87d3bd3ebbcf5b556b0268
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
18 files changed:
auth/auth_sam_reply.c
dfs_server/dfs_server_ad.c
libgpo/gpo_util.c
source3/auth/user_info.c
source3/passdb/pdb_samba_dsdb.c
source4/auth/sam.c
source4/auth/session.c
source4/dsdb/common/util_groups.c
source4/dsdb/kcc/kcc_topology.c
source4/dsdb/repl/drepl_out_helpers.c
source4/lib/policy/gp_filesys.c
source4/lib/policy/gp_ldap.c
source4/lib/policy/gp_manage.c
source4/libnet/libnet_samsync_ldb.c
source4/ntvfs/posix/pvfs_acl.c
source4/rpc_server/lsa/dcesrv_lsa.c
source4/smbd/service_stream.c
source4/wrepl_server/wrepl_in_call.c