Fix crasher in slapi_over_unmerge_controls() (if called from cleanup handler

where merge controls was not called)
This commit is contained in:
Luke Howard 2005-12-24 09:20:06 +00:00
parent dcfd499eca
commit c723a77e1c

View File

@ -478,7 +478,7 @@ slapi_over_unmerge_controls( Operation *op, SlapReply *rs )
slapi_pblock_get( pb, SLAPI_X_OLD_RESCONTROLS, (void **)&rs_ctrls );
if ( rs->sr_ctrls == NULL || rs->sr_ctrls == rs_ctrls ) {
if ( rs_ctrls == NULL || rs->sr_ctrls == rs_ctrls ) {
/* no copying done */
return LDAP_SUCCESS;
}