mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 08:39:37 -05:00
Do a regular entry_free on entries from do_add
This commit is contained in:
parent
cea4556910
commit
ce81cef289
1 changed files with 4 additions and 1 deletions
|
|
@ -170,5 +170,8 @@ int bdb_entry_release(
|
|||
Entry *e,
|
||||
int rw )
|
||||
{
|
||||
return bdb_entry_return( be, e );
|
||||
if (o && o->o_tag == LDAP_REQ_ADD)
|
||||
entry_free(e);
|
||||
else
|
||||
return bdb_entry_return( be, e );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue