From: Kurt Zeilenga Date: Sun, 7 Feb 1999 18:24:05 +0000 (+0000) Subject: Fix backend_destroy to call bi_destroy instead of bi_close X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~617 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=36a06168c50a630cdc130727f34b32df0aca38b0;p=openldap Fix backend_destroy to call bi_destroy instead of bi_close --- diff --git a/servers/slapd/backend.c b/servers/slapd/backend.c index 41f0b5ed2e..8680ff8cf8 100644 --- a/servers/slapd/backend.c +++ b/servers/slapd/backend.c @@ -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] ); } }