Do a regular entry_free on entries from do_add

This commit is contained in:
Howard Chu 2001-12-15 06:25:47 +00:00
parent cea4556910
commit ce81cef289

View File

@ -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 );
}