summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-07-19 13:53:34 -0400
committerSimo Sorce <idra@samba.org>2010-07-19 13:53:34 -0400
commit944494d350fa0e42aa8a87849fa7168731f3b0a6 (patch)
treed8a43a4e5c23186166c9e82db5be40fbbe5da6f8
parentf9f3358348229b14d368316e327cfd2a4cb48c7c (diff)
downloadsamba-944494d350fa0e42aa8a87849fa7168731f3b0a6.tar.gz
samba-944494d350fa0e42aa8a87849fa7168731f3b0a6.tar.bz2
samba-944494d350fa0e42aa8a87849fa7168731f3b0a6.zip
s3-auth: Remove unused variable.
It was a spurious remnant after a rebase.
-rw-r--r--source3/auth/auth_ntlmssp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c
index bebb86ee17..a71c02b14f 100644
--- a/source3/auth/auth_ntlmssp.c
+++ b/source3/auth/auth_ntlmssp.c
@@ -265,7 +265,6 @@ NTSTATUS auth_ntlmssp_start(struct auth_ntlmssp_state **auth_ntlmssp_state)
const char *dns_name;
char *dns_domain;
struct auth_ntlmssp_state *ans;
- struct ntlmssp_state *ntlmssp_state;
struct auth_context *auth_context;
if ((enum server_types)lp_server_role() == ROLE_STANDALONE) {
@@ -286,7 +285,6 @@ NTSTATUS auth_ntlmssp_start(struct auth_ntlmssp_state **auth_ntlmssp_state)
ans = talloc_zero(NULL, struct auth_ntlmssp_state);
if (!ans) {
DEBUG(0,("auth_ntlmssp_start: talloc failed!\n"));
- TALLOC_FREE(ntlmssp_state);
return NT_STATUS_NO_MEMORY;
}