cleanup after sending entry

This commit is contained in:
Pierangelo Masarati 2007-03-21 22:33:09 +00:00
parent ac96ba3131
commit d0e6e17b89

View File

@ -336,6 +336,7 @@ retry:
rs->sr_flags = 0;
rs->sr_err = LDAP_SUCCESS;
rc = rs->sr_err = send_search_entry( op, rs );
rs->sr_entry = NULL;
if ( !BER_BVISNULL( &ent.e_name ) ) {
assert( ent.e_name.bv_val != bdn.bv_val );
op->o_tmpfree( ent.e_name.bv_val, op->o_tmpmemctx );