From ba75a865d71290e69c50df49971b3dd0c6fafa1f Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 17 Mar 2009 18:09:40 +0000 Subject: [PATCH] ITS#6012 don't abort NULL txns (blind fix) --- servers/slapd/back-bdb/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-bdb/cache.c b/servers/slapd/back-bdb/cache.c index 671e36b2e7..7cd34038b1 100644 --- a/servers/slapd/back-bdb/cache.c +++ b/servers/slapd/back-bdb/cache.c @@ -1482,7 +1482,7 @@ bdb_reader_free( void *key, void *data ) /* DB_ENV *env = key; */ DB_TXN *txn = data; - TXN_ABORT( txn ); + if ( txn ) TXN_ABORT( txn ); } /* free up any keys used by the main thread */ -- 2.39.5