From f83fd2587201ad3ac3be0ad4afde5a93dbf2ffb8 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 22 Jan 2002 08:17:02 +0000 Subject: [PATCH] as a temporary hack, return result without rewriting match --- servers/slapd/back-ldap/bind.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index 673a63be02..3031f2e457 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -411,8 +411,13 @@ ldap_back_op_result(struct ldapconn *lc, Operation *op) #ifdef ENABLE_REWRITE /* - * need rewrite info; mmmh ... + * FIXME: need rewrite info for match; mmmh ... */ + send_ldap_result( lc->conn, op, err, match, msg, NULL, NULL ); + /* better test the pointers before freeing? */ + if ( match ) { + free( match ); + } #else /* !ENABLE_REWRITE */ @@ -421,6 +426,7 @@ ldap_back_op_result(struct ldapconn *lc, Operation *op) if ( match ) { free( match ); } + #endif /* !ENABLE_REWRITE */ if ( msg ) free( msg ); -- 2.39.5