Commit ce81cef2 authored by Howard Chu's avatar Howard Chu
Browse files

Do a regular entry_free on entries from do_add

parent cea45569
......@@ -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 );
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment