ITS#9121 plug entry leak

This commit is contained in:
Howard Chu 2020-02-25 18:05:20 +00:00
parent 6bd2a3721d
commit 2c6fccb49b

View File

@ -1029,6 +1029,8 @@ dynlist_search2resp( Operation *op, SlapReply *rs )
rs->sr_err = send_search_entry( op, &r );
if ( rs->sr_err != LDAP_SUCCESS )
break;
} else {
rs_flush_entry( op, &r, NULL );
}
}
rs->sr_nentries = r.sr_nentries;