From e631c2f7dcb4e83b1e10a8060870ab2ae4153cda Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Matthias=20Dieter=20Walln=C3=B6fer?= Date: Wed, 17 Sep 2008 20:27:02 +0200 Subject: [PATCH] LDAP Server: Don't create the SASL SECBLOB output object twice Removes one "talloc" creation of the output object. --- source4/ldap_server/ldap_bind.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/source4/ldap_server/ldap_bind.c b/source4/ldap_server/ldap_bind.c index f37ef31..8357251 100644 --- a/source4/ldap_server/ldap_bind.c +++ b/source4/ldap_server/ldap_bind.c @@ -180,9 +180,6 @@ static NTSTATUS ldapsrv_BindSASL(struct ldapsrv_call *call) input = *req->creds.SASL.secblob; } - resp->SASL.secblob = talloc(reply, DATA_BLOB); - NT_STATUS_HAVE_NO_MEMORY(resp->SASL.secblob); - status = gensec_update(conn->gensec, reply, input, &output); -- 1.5.4.5