summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-02-04 16:50:09 +0100
committerVolker Lendecke <vl@samba.org>2008-02-04 19:41:04 +0100
commitb47672656bc762fb5f5d7136769591449cd4c0f1 (patch)
tree05b126c2c553b4fc64855fbeb374c0bc80d231f7
parentc246eeb6f1a79ad6a092efddbc9392976c7dbede (diff)
downloadsamba-b47672656bc762fb5f5d7136769591449cd4c0f1.tar.gz
samba-b47672656bc762fb5f5d7136769591449cd4c0f1.tar.bz2
samba-b47672656bc762fb5f5d7136769591449cd4c0f1.zip
tiny simplification
(This used to be commit 22e49ef2c0c9b641068ac5419b9c82fb97d3e8e6)
-rw-r--r--source3/auth/auth.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source3/auth/auth.c b/source3/auth/auth.c
index 0a9ae32472..e136fc2f04 100644
--- a/source3/auth/auth.c
+++ b/source3/auth/auth.c
@@ -508,11 +508,9 @@ NTSTATUS make_auth_context_subsystem(struct auth_context **auth_context)
DEBUG(5,("Using specified auth order\n"));
}
- if (!NT_STATUS_IS_OK(nt_status = make_auth_context_text_list(auth_context, auth_method_list))) {
- str_list_free(&auth_method_list);
- return nt_status;
- }
-
+ nt_status = make_auth_context_text_list(auth_context,
+ auth_method_list);
+
str_list_free(&auth_method_list);
return nt_status;
}