summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-11-18 17:05:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:54 -0500
commit5e48602456f50cc3e261acfb005e6ee28231f64c (patch)
tree129417dc692ca90f4b9234f2608719d0fcc93752 /source3
parent5f3b7ee71323190ec1888214d0ef46781f6cc6b6 (diff)
downloadsamba-5e48602456f50cc3e261acfb005e6ee28231f64c.tar.gz
samba-5e48602456f50cc3e261acfb005e6ee28231f64c.tar.bz2
samba-5e48602456f50cc3e261acfb005e6ee28231f64c.zip
r19773: TALLOC_FREE checks for NULL itself
(This used to be commit fb3983ae1fdd1935333ffee80bceb747228ac0f3)
Diffstat (limited to 'source3')
-rw-r--r--source3/auth/auth_util.c5
1 files changed, 1 insertions, 4 deletions
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;
}