Skip to content
Snippets Groups Projects
Commit 684c01ed authored by Howard Chu's avatar Howard Chu
Browse files

ITS#4259 revert prev commit, fixed in alock.c instead.

parent 28ed7a26
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment