git.samba.org
/
kai
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_struct
[kai/samba.git]
/
source3
/
libsmb
/
passchange.c
diff --git
a/source3/libsmb/passchange.c
b/source3/libsmb/passchange.c
index 2f9a87dee4a70aa10a8c0fe19531b5bccc0cc181..8f7cbf265e96fd89578f26d5f8366a2df0c03ce3 100644
(file)
--- a/
source3/libsmb/passchange.c
+++ b/
source3/libsmb/passchange.c
@@
-196,7
+196,7
@@
NTSTATUS remote_password_change(const char *remote_machine, const char *user_nam
}
/* OK, that failed, so try again... */
-
cli_rpc_pipe_close
(pipe_hnd);
+
TALLOC_FREE
(pipe_hnd);
/* Try anonymous NTLMSSP... */
cli_init_creds(cli, "", "", NULL);