Fix previous commit

This commit is contained in:
Howard Chu 2003-03-31 06:27:16 +00:00
parent e847fd46b7
commit f80114af02
2 changed files with 5 additions and 5 deletions

View File

@ -296,12 +296,12 @@ done2:;
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 */

View File

@ -1376,7 +1376,7 @@ slapi_send_ldap_result(
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;
}