From 8ac5db124630586605bd3972975ea47ee1cb34c0 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Wed, 17 Sep 2008 17:55:02 +0200 Subject: LDAP Server: Don't create the SASL SECBLOB output object twice Removes one "talloc" creation of the output object. Signed-off-by: Stefan Metzmacher --- source4/ldap_server/ldap_bind.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source4/ldap_server') diff --git a/source4/ldap_server/ldap_bind.c b/source4/ldap_server/ldap_bind.c index f37ef31c0a..8357251a8f 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); -- cgit