send_ldap_result( op, rs );
}
- if ( op->oq_extended.rs_reqoid.bv_val != NULL ) {
- slapi_ch_free( (void **)&op->oq_extended.rs_reqoid.bv_val );
+ if ( rs->sr_rspoid != NULL ) {
+ ch_free( (char *)rs->sr_rspoid );
}
- if ( op->oq_extended.rs_reqdata != NULL ) {
- ber_bvfree( op->oq_extended.rs_reqdata );
+ if ( rs->sr_rspdata != NULL ) {
+ ber_bvfree( rs->sr_rspdata );
}
} /* end of Netscape extended operation */
rs.sr_type = REP_EXTENDED;
rs.sr_rspoid = extOID;
slapi_pblock_get( pb, SLAPI_EXT_OP_RET_VALUE, &rs.sr_rspdata );
- send_ldap_extended_response( op, &rs );
+ send_ldap_extended( op, &rs );
return;
}