mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Do a regular entry_free on entries from do_add
This commit is contained in:
parent
cea4556910
commit
ce81cef289
@ -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 New Issue
Block a user