summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-02-04 18:10:28 +0100
committerVolker Lendecke <vl@samba.org>2009-02-04 18:11:46 +0100
commit9b3cce096ceca8b7d72456cbc6f0a725ad55d46c (patch)
tree7d113d758e27a00ec690f163ca532a044b342dda
parent8eb562a81db03bac3e4bb469eaa45e0969be924e (diff)
downloadsamba-9b3cce096ceca8b7d72456cbc6f0a725ad55d46c.tar.gz
samba-9b3cce096ceca8b7d72456cbc6f0a725ad55d46c.tar.bz2
samba-9b3cce096ceca8b7d72456cbc6f0a725ad55d46c.zip
Fix a valgrind error: rpc_bind talloc_move()s the auth struct
-rw-r--r--source3/auth/auth_netlogond.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/auth/auth_netlogond.c b/source3/auth/auth_netlogond.c
index 9191c751f3..c39dd8c752 100644
--- a/source3/auth/auth_netlogond.c
+++ b/source3/auth/auth_netlogond.c
@@ -236,8 +236,6 @@ static NTSTATUS check_netlogond_security(const struct auth_context *auth_context
goto done;
}
- TALLOC_FREE(auth);
-
plaintext_machinepw = mymachinepw(talloc_tos());
if (plaintext_machinepw == NULL) {
status = NT_STATUS_NO_MEMORY;