summaryrefslogtreecommitdiff
path: root/source3/auth/auth.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-03-18 11:24:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:41 -0500
commitc0e37a74963ae942ed48431bd2ea353ebad256ff (patch)
treea666b7e2b9eb57e1b52cb668d538f7bb1b9c288c /source3/auth/auth.c
parent7c2bc9c07083e7035028cf22e97e0c31b3e9d6a5 (diff)
downloadsamba-c0e37a74963ae942ed48431bd2ea353ebad256ff.tar.gz
samba-c0e37a74963ae942ed48431bd2ea353ebad256ff.tar.bz2
samba-c0e37a74963ae942ed48431bd2ea353ebad256ff.zip
r21870: Move sending auth_server keepalives out of the main loop into an idle event.
Volker (This used to be commit 6226b30f38cd82531422815ba66a687aab50028d)
Diffstat (limited to 'source3/auth/auth.c')
-rw-r--r--source3/auth/auth.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/auth/auth.c b/source3/auth/auth.c
index 0b868b265e..dd5481767b 100644
--- a/source3/auth/auth.c
+++ b/source3/auth/auth.c
@@ -333,10 +333,7 @@ static void free_auth_context(struct auth_context **auth_context)
if (*auth_context) {
/* Free private data of context's authentication methods */
for (auth_method = (*auth_context)->auth_method_list; auth_method; auth_method = auth_method->next) {
- if (auth_method->free_private_data) {
- auth_method->free_private_data (&auth_method->private_data);
- auth_method->private_data = NULL;
- }
+ TALLOC_FREE(auth_method->private_data);
}
talloc_destroy((*auth_context)->mem_ctx);