mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 20:19:34 -05:00
ITS#4259 revert prev commit, fixed in alock.c instead.
This commit is contained in:
parent
28ed7a26a7
commit
684c01ed1f
1 changed files with 5 additions and 7 deletions
|
|
@ -594,13 +594,11 @@ bdb_db_close( BackendDB *be )
|
|||
}
|
||||
}
|
||||
|
||||
if ( bdb->bi_alock_info.al_slot > 0 ) {
|
||||
rc = alock_close( &bdb->bi_alock_info );
|
||||
if( rc != 0 ) {
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"bdb_db_close: alock_close failed\n", 0, 0, 0 );
|
||||
return -1;
|
||||
}
|
||||
rc = alock_close( &bdb->bi_alock_info );
|
||||
if( rc != 0 ) {
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"bdb_db_close: alock_close failed\n", 0, 0, 0 );
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue