Fix incorrect usage of slapi_ch_free()

This commit is contained in:
Luke Howard 2003-04-23 07:01:56 +00:00
parent 350b73c2d6
commit ebe2c10994

View file

@ -1143,8 +1143,8 @@ slapi_search_internal_bind(
}
if ( !op->o_req_ndn.bv_len && default_search_nbase.bv_len ) {
slapi_ch_free( (void **)op->o_req_dn.bv_val );
slapi_ch_free( (void **)op->o_req_ndn.bv_val );
slapi_ch_free( (void **)&op->o_req_dn.bv_val );
slapi_ch_free( (void **)&op->o_req_ndn.bv_val );
ber_dupbv( &op->o_req_dn, &default_search_base );
ber_dupbv( &op->o_req_ndn, &default_search_nbase );