mirror of
https://github.com/samba-team/samba.git
synced 2025-08-31 22:02:58 +03:00
r19773: TALLOC_FREE checks for NULL itself
(This used to be commit fb3983ae1f
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
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)
|
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);
|
ZERO_STRUCTP(server_info);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user