r4041: fix cut-n-paste typo
authorStefan Metzmacher <metze@samba.org>
Thu, 2 Dec 2004 11:40:18 +0000 (11:40 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:06:17 +0000 (13:06 -0500)
metze

source/rpc_server/netlogon/dcerpc_netlogon.c

index 0720e317c58c5274a26fac1fb8b65c03b605df59..c46f2406303d41f46d91189bb183a3d641af039e 100644 (file)
@@ -260,7 +260,7 @@ static NTSTATUS netr_ServerAuthenticate3(struct dcesrv_call_state *dce_call, TAL
        
        if (pipe_state->computer_name) {
                /* We don't want a memory leak on this long-lived talloc context */
-               talloc_free(pipe_state->account_name);
+               talloc_free(pipe_state->computer_name);
        }
 
        pipe_state->computer_name = talloc_strdup(pipe_state, r->in.computer_name);