mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
ITS#6012 don't abort NULL txns (blind fix)
This commit is contained in:
parent
4b078ab617
commit
ba75a865d7
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user