lib: auth: Store the netlogon_creds_cli_global_db pointer on the NULL context.
authorJeremy Allison <jra@samba.org>
Mon, 24 Jul 2017 23:14:00 +0000 (16:14 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 26 Jul 2017 23:34:12 +0000 (01:34 +0200)
commite74081ce5d0f81024f7384816c589e5bc28baf80
tree5d49ec86715d15873f812df12d851572dd87856b
parentdbd32932463935cd47c55a9e1afdaccd7f6daf4d
lib: auth: Store the netlogon_creds_cli_global_db pointer on the NULL context.

Now we shutdown correctly it doesn't need the talloc_autofree_context().

Last use of talloc_autofree_context() ourside the talloc test code !

Please don't add it ever again :-).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12932

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jul 27 01:34:12 CEST 2017 on sn-devel-144
libcli/auth/netlogon_creds_cli.c