1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r19773: TALLOC_FREE checks for NULL itself

(This used to be commit fb3983ae1f)
This commit is contained in:
Volker Lendecke 2006-11-18 17:05:50 +00:00 committed by Gerald (Jerry) Carter
parent 5f3b7ee713
commit 5e48602456

View File

@ -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;
}