]> git.sur5r.net Git - openldap/commitdiff
ITS#7323 plug leak in online indexer
authorHoward Chu <hyc@openldap.org>
Thu, 12 Jul 2012 09:36:12 +0000 (02:36 -0700)
committerHoward Chu <hyc@openldap.org>
Thu, 12 Jul 2012 09:36:12 +0000 (02:36 -0700)
servers/slapd/back-mdb/config.c

index e3bf64b6584dd219eea3198ed4cc8419f57dd146..c0e12044b36f2c4f9f54ccd05dc57c6def71d0fa 100644 (file)
@@ -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;