s3-ntlmssp: Remove ntlmssp_end and let the talloc hierarchy handle it.
[samba.git] / source3 / rpc_client / cli_pipe.c
index a61200a10459c6bfcf4155d042ad1274281e2098..8dd9386eab8cf56cc93e6641c2cfc5f89f87667b 100644 (file)
@@ -2704,7 +2704,7 @@ NTSTATUS rpccli_anon_bind_data(TALLOC_CTX *mem_ctx,
 
 static int cli_auth_ntlmssp_data_destructor(struct cli_pipe_auth_data *auth)
 {
-       ntlmssp_end(&auth->a_u.ntlmssp_state);
+       TALLOC_FREE(auth->a_u.ntlmssp_state);
        return 0;
 }