From b47672656bc762fb5f5d7136769591449cd4c0f1 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 4 Feb 2008 16:50:09 +0100 Subject: tiny simplification (This used to be commit 22e49ef2c0c9b641068ac5419b9c82fb97d3e8e6) --- source3/auth/auth.c | 8 +++----- 1 file 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; } -- cgit