auth/credentials: Improve memory handling in cli_credentials_set_machine_account
authorAndrew Bartlett <abartlet@samba.org>
Tue, 28 Aug 2012 23:21:52 +0000 (09:21 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 29 Aug 2012 01:11:09 +0000 (03:11 +0200)
commita0e4bdcb5b374a4259164aed8fdbcc7b1761f09b
treeb7e01b476bb3338785fb82ae35eea10b22addde1
parent3a303ae5ab2bfef58e0ea281e3a99406ff8fd53f
auth/credentials: Improve memory handling in cli_credentials_set_machine_account

By using a tempoary talloc context this is much tidier and more reliable code.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Aug 29 03:11:10 CEST 2012 on sn-devel-104
auth/credentials/credentials_secrets.c