diff options
-rw-r--r-- | source3/auth/auth_util.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index 7d6effebc4..82a13fd9e7 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; } |