From: Hallvard Furuseth Date: Sat, 7 Apr 2012 11:10:51 +0000 (+0200) Subject: ITS#7234 Fix syncprov entry leak: Set op->o_tag X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=19905a390fa2bcfc8e3d180c83af7a9c53ec051b;p=openldap ITS#7234 Fix syncprov entry leak: Set op->o_tag --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 2cdd7ac5bc..a34108c56b 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -3086,6 +3086,7 @@ syncprov_db_open( } overlay_entry_release_ov( op, e, 0, on ); if ( si->si_ctxcsn && !SLAP_DBCLEAN( be )) { + op->o_tag = LDAP_REQ_SEARCH; op->o_req_dn = be->be_suffix[0]; op->o_req_ndn = be->be_nsuffix[0]; op->ors_scope = LDAP_SCOPE_SUBTREE;