From 22e49ef2c0c9b641068ac5419b9c82fb97d3e8e6 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 4 Feb 2008 16:50:09 +0100 Subject: tiny simplification --- source/auth/auth.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'source/auth') diff --git a/source/auth/auth.c b/source/auth/auth.c index 0a9ae32472d..e136fc2f045 100644 --- a/source/auth/auth.c +++ b/source/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