Fix a valgrind error: rpc_bind talloc_move()s the auth struct
authorVolker Lendecke <vl@samba.org>
Wed, 4 Feb 2009 17:10:28 +0000 (18:10 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 4 Feb 2009 17:11:46 +0000 (18:11 +0100)
source3/auth/auth_netlogond.c

index 9191c751f37c8e33b485929ddf55c28653f9137a..c39dd8c7521bf71112dabf5f16cb17724311bd95 100644 (file)
@@ -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;