From 5e48602456f50cc3e261acfb005e6ee28231f64c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 18 Nov 2006 17:05:50 +0000 Subject: r19773: TALLOC_FREE checks for NULL itself (This used to be commit fb3983ae1fdd1935333ffee80bceb747228ac0f3) --- source3/auth/auth_util.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source3/auth') 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; } -- cgit