From 759da3b915e2006d4c87b5ace47f399accd9ce91 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 27 Jan 2005 07:08:20 +0000 Subject: r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the large commit. I thought this was worthwhile to get done for consistency. (This used to be commit ec32b22ed5ec224f6324f5e069d15e92e38e15c0) --- source4/librpc/rpc/dcerpc_schannel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/librpc/rpc/dcerpc_schannel.c') diff --git a/source4/librpc/rpc/dcerpc_schannel.c b/source4/librpc/rpc/dcerpc_schannel.c index 0e218c478f..7cd2d1654f 100644 --- a/source4/librpc/rpc/dcerpc_schannel.c +++ b/source4/librpc/rpc/dcerpc_schannel.c @@ -227,7 +227,7 @@ static NTSTATUS dcerpc_schannel_update(struct gensec_security *gensec_security, NTSTATUS dcerpc_schannel_session_info(struct gensec_security *gensec_security, struct auth_session_info **session_info) { - (*session_info) = talloc_p(gensec_security, struct auth_session_info); + (*session_info) = talloc(gensec_security, struct auth_session_info); NT_STATUS_HAVE_NO_MEMORY(*session_info); ZERO_STRUCTP(*session_info); @@ -271,7 +271,7 @@ static NTSTATUS dcerpc_schannel_start(struct gensec_security *gensec_security) { struct dcerpc_schannel_state *dce_schan_state; - dce_schan_state = talloc_p(gensec_security, struct dcerpc_schannel_state); + dce_schan_state = talloc(gensec_security, struct dcerpc_schannel_state); if (!dce_schan_state) { return NT_STATUS_NO_MEMORY; } @@ -470,7 +470,7 @@ NTSTATUS dcerpc_bind_auth_schannel(struct dcerpc_pipe *p, NTSTATUS status; int chan_type = 0; struct creds_CredentialState *creds; - creds = talloc_p(p, struct creds_CredentialState); + creds = talloc(p, struct creds_CredentialState); if (!creds) { return NT_STATUS_NO_MEMORY; } -- cgit