ITS#9497 fix duplicate ldap control response

This commit is contained in:
HAMANO Tsukasa 2021-03-12 13:24:07 +09:00 committed by Quanah Gibson-Mount
parent 76df6a4f5a
commit 31b0bf68c2

View File

@ -1384,6 +1384,7 @@ ldif_back_search( Operation *op, SlapReply *rs )
ldap_pvt_thread_rdwr_rlock(&li->li_rdwr);
rs->sr_err = search_tree( op, rs );
ldap_pvt_thread_rdwr_runlock(&li->li_rdwr);
rs->sr_ctrls = NULL;
send_ldap_result(op, rs);
return rs->sr_err;