mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 18:49:34 -05:00
ITS#7099 fix mdb_entry_return for tool mode
Originally, overlays were not supposed to take effect in tool mode. Apparently that's no longer the case...
This commit is contained in:
parent
2a8b55b1c5
commit
4f298d47af
1 changed files with 5 additions and 5 deletions
|
|
@ -217,14 +217,14 @@ int mdb_entry_return(
|
|||
)
|
||||
{
|
||||
if ( e->e_private ) {
|
||||
if ( slapMode & SLAP_TOOL_MODE ) {
|
||||
ch_free( e->e_nname.bv_val );
|
||||
ch_free( e->e_name.bv_val );
|
||||
ch_free( e );
|
||||
} else {
|
||||
if ( op->o_hdr ) {
|
||||
op->o_tmpfree( e->e_nname.bv_val, op->o_tmpmemctx );
|
||||
op->o_tmpfree( e->e_name.bv_val, op->o_tmpmemctx );
|
||||
op->o_tmpfree( e, op->o_tmpmemctx );
|
||||
} else {
|
||||
ch_free( e->e_nname.bv_val );
|
||||
ch_free( e->e_name.bv_val );
|
||||
ch_free( e );
|
||||
}
|
||||
} else {
|
||||
entry_free( e );
|
||||
|
|
|
|||
Loading…
Reference in a new issue