]> git.sur5r.net Git - openldap/commitdiff
Free main-thread keys in db_close, can't do it later because the env
authorHoward Chu <hyc@openldap.org>
Thu, 25 Jan 2007 12:24:52 +0000 (12:24 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 25 Jan 2007 12:24:52 +0000 (12:24 +0000)
will be gone.

servers/slapd/back-bdb/proto-bdb.h

index 34862d31909dda6d7a9c471290f18a590dfe5e6c..5e28fddbff9c325e7004decde09aabe20970cb03 100644 (file)
@@ -585,7 +585,9 @@ int bdb_cache_entry_db_unlock(
 #ifdef BDB_REUSE_LOCKERS
 
 #define bdb_locker_id                          BDB_SYMBOL(locker_id)
+#define bdb_locker_flush                       BDB_SYMBOL(locker_flush)
 int bdb_locker_id( Operation *op, DB_ENV *env, u_int32_t *locker );
+void bdb_locker_flush( DB_ENV *env );
 
 #define        LOCK_ID_FREE(env, locker)       ((void)0)
 #define        LOCK_ID(env, locker)    bdb_locker_id(op, env, locker)