mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
as a temporary hack, return result without rewriting match
This commit is contained in:
parent
78dd105654
commit
f83fd25872
@ -411,8 +411,13 @@ ldap_back_op_result(struct ldapconn *lc, Operation *op)
|
|||||||
#ifdef ENABLE_REWRITE
|
#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 */
|
#else /* !ENABLE_REWRITE */
|
||||||
|
|
||||||
@ -421,6 +426,7 @@ ldap_back_op_result(struct ldapconn *lc, Operation *op)
|
|||||||
if ( match ) {
|
if ( match ) {
|
||||||
free( match );
|
free( match );
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* !ENABLE_REWRITE */
|
#endif /* !ENABLE_REWRITE */
|
||||||
|
|
||||||
if ( msg ) free( msg );
|
if ( msg ) free( msg );
|
||||||
|
Loading…
Reference in New Issue
Block a user