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:
parent
5f3b7ee713
commit
5e48602456
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user