From 19905a390fa2bcfc8e3d180c83af7a9c53ec051b Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sat, 7 Apr 2012 13:10:51 +0200 Subject: [PATCH] ITS#7234 Fix syncprov entry leak: Set op->o_tag --- servers/slapd/overlays/syncprov.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5