From: Howard Chu Date: Thu, 12 Jul 2012 09:36:12 +0000 (-0700) Subject: ITS#7323 plug leak in online indexer X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6934696c23a2eef4cf6b08a7f1b0fedc336b956d;p=openldap ITS#7323 plug leak in online indexer --- 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;