summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/auth/auth_util.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/auth/auth_util.c b/source/auth/auth_util.c
index 7d6effebc44..82a13fd9e78 100644
--- a/source/auth/auth_util.c
+++ b/source/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;
}