diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-05-23 05:26:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:08:30 -0500 |
commit | 47e7f457513a1b85940154d713481d612e39cb66 (patch) | |
tree | de487d3af12d37d104b6605337a2012688c720c8 | |
parent | 8d130005a1d124d6d534a36be9de79e988c63e14 (diff) | |
download | samba-47e7f457513a1b85940154d713481d612e39cb66.tar.gz samba-47e7f457513a1b85940154d713481d612e39cb66.tar.bz2 samba-47e7f457513a1b85940154d713481d612e39cb66.zip |
r15831: fixed a memory leak in the netlogon server
(This used to be commit c4425f8988186a18703b6a723b766bf13d59b727)
-rw-r--r-- | source4/rpc_server/netlogon/dcerpc_netlogon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c index 547c538003..4075ce82ce 100644 --- a/source4/rpc_server/netlogon/dcerpc_netlogon.c +++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c @@ -479,8 +479,8 @@ static NTSTATUS netr_LogonSamLogon_base(struct dcesrv_call_state *dce_call, TALL user_info->workstation_name = r->in.logon.network->identity_info.workstation.string; user_info->password_state = AUTH_PASSWORD_RESPONSE; - user_info->password.response.lanman = data_blob(r->in.logon.network->lm.data, r->in.logon.network->lm.length); - user_info->password.response.nt = data_blob(r->in.logon.network->nt.data, r->in.logon.network->nt.length); + user_info->password.response.lanman = data_blob_talloc(mem_ctx, r->in.logon.network->lm.data, r->in.logon.network->lm.length); + user_info->password.response.nt = data_blob_talloc(mem_ctx, r->in.logon.network->nt.data, r->in.logon.network->nt.length); break; default: |