netlogon_creds_cli: Simplify netlogon_creds_cli_store
authorVolker Lendecke <vl@samba.org>
Sun, 10 Sep 2017 12:55:13 +0000 (14:55 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 25 Sep 2017 07:43:12 +0000 (09:43 +0200)
commit154b28b686f04a933181e510c43444afc67993b8
tree6d4aa25e8b7042d6b054128c44084e3386f161ed
parentc234599a5404947c676bfdb6b8bd3929960b1cd9
netlogon_creds_cli: Simplify netlogon_creds_cli_store

Don't implicitly TALLOC_FREE(creds) in the pure store routine. This
mixes up responsibilities, and there's not enough callers to justify
the TALLOC_FREE to be centralized.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/auth/netlogon_creds_cli.c
libcli/auth/netlogon_creds_cli.h