mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 01:29:59 -05:00
Fix broken referral handling in slapi_send_ldap_result()
This commit is contained in:
parent
20542a045f
commit
1ebfd26ca3
1 changed files with 5 additions and 0 deletions
|
|
@ -1349,8 +1349,13 @@ slapi_send_ldap_result(
|
|||
} else {
|
||||
if ( pb->pb_op->o_tag == LDAP_REQ_SEARCH )
|
||||
rs->sr_nentries = nentries;
|
||||
if ( urls != NULL )
|
||||
bvptr2obj( urls, &rs->sr_ref );
|
||||
|
||||
send_ldap_result( pb->pb_op, rs );
|
||||
|
||||
if ( urls != NULL )
|
||||
slapi_ch_free( (void **)&rs->sr_ref );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue