]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-bdb/index.c
Restructured to avoid direct use of sl_malloc functions. Minimizes impact
[openldap] / servers / slapd / back-bdb / index.c
index 950b52c27605863e266e7567c7fe201f997ae303..c4196495cbf6237fe231d8be60e2239d8f79a801 100644 (file)
@@ -174,7 +174,9 @@ static int indexer(
                return LDAP_OTHER;
        }
 
+#if 0  /* No longer needed, our frees are in order so nothing accumulates */
        mark = sl_mark(op->o_tmpmemctx);
+#endif
 
        if( IS_SLAP_INDEX( mask, SLAP_INDEX_PRESENT ) ) {
                rc = bdb_key_change( op->o_bd, db, txn, &presence_key, id, opid );
@@ -249,7 +251,9 @@ static int indexer(
        }
 
 done:
+#if 0
        sl_release( mark, op->o_tmpmemctx );
+#endif
        return rc;
 }