mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 14:42:10 -05:00
Fix backend_destroy to call bi_destroy instead of bi_close
This commit is contained in:
parent
587535a310
commit
36a06168c5
1 changed files with 2 additions and 2 deletions
|
|
@ -228,8 +228,8 @@ int backend_destroy(void)
|
|||
|
||||
/* destroy each backend type */
|
||||
for( i = 0; i < nBackendInfo; i++ ) {
|
||||
if( backendInfo[i].bi_close ) {
|
||||
backendInfo[i].bi_close(
|
||||
if( backendInfo[i].bi_destroy ) {
|
||||
backendInfo[i].bi_destroy(
|
||||
&backendInfo[i] );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue