diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index 7d6effebc44..82a13fd9e78 100644 --- a/source3/auth/auth_util.c +++ b/source3/auth/auth_util.c @@ -515,10 +515,7 @@ NT_USER_TOKEN *get_root_nt_token( void ) static int server_info_dtor(auth_serversupplied_info *server_info) { - if (server_info->sam_account != NULL) { - TALLOC_FREE(server_info->sam_account); - } - + TALLOC_FREE(server_info->sam_account); ZERO_STRUCTP(server_info); return 0; }