mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Fix incorrect usage of slapi_ch_free()
This commit is contained in:
parent
350b73c2d6
commit
ebe2c10994
1 changed files with 2 additions and 2 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue