From: Howard Chu Date: Sat, 10 May 2003 03:56:01 +0000 (+0000) Subject: Plug mem leak in slapindex X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~151 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c84c133c90fb8ec219bb118771a46995beff09c7;p=openldap Plug mem leak in slapindex --- diff --git a/servers/slapd/back-bdb/tools.c b/servers/slapd/back-bdb/tools.c index fc370f8b08..32d9bb5ff1 100644 --- a/servers/slapd/back-bdb/tools.c +++ b/servers/slapd/back-bdb/tools.c @@ -453,6 +453,7 @@ done: #endif e->e_id = NOID; } + bdb_entry_release( &op, e, 0 ); return rc; }