From 6934696c23a2eef4cf6b08a7f1b0fedc336b956d Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 12 Jul 2012 02:36:12 -0700 Subject: [PATCH] ITS#7323 plug leak in online indexer --- servers/slapd/back-mdb/config.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/back-mdb/config.c b/servers/slapd/back-mdb/config.c index e3bf64b658..c0e12044b3 100644 --- a/servers/slapd/back-mdb/config.c +++ b/servers/slapd/back-mdb/config.c @@ -173,6 +173,7 @@ mdb_online_index( void *ctx, void *arg ) break; } rc = mdb_index_entry( op, txn, MDB_INDEX_UPDATE_OP, e ); + mdb_entry_return( op, e ); if ( rc == 0 ) { rc = mdb_txn_commit( txn ); txn = NULL; -- 2.39.5