summaryrefslogtreecommitdiffstats
path: root/source/auth
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
commitfb3983ae1fdd1935333ffee80bceb747228ac0f3 (patch)
tree7bcc28b06bfd50fb2ac47127c8b5378296400b27 /source/auth
parent55dc4741cfead0f21deb7ea2d28afb240505686b (diff)
downloadsamba-fb3983ae1fdd1935333ffee80bceb747228ac0f3.tar.gz
samba-fb3983ae1fdd1935333ffee80bceb747228ac0f3.tar.xz
samba-fb3983ae1fdd1935333ffee80bceb747228ac0f3.zip
r19773: TALLOC_FREE checks for NULL itself
Diffstat (limited to 'source/auth')
-rw-r--r--source/auth/auth_util.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/auth/auth_util.c b/source/auth/auth_util.c
index 7d6effebc44..82a13fd9e78 100644
--- a/source/auth/auth_util.c
+++ b/source/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;
}