]> git.sur5r.net Git - openldap/commitdiff
Fix backend_destroy to call bi_destroy instead of bi_close
authorKurt Zeilenga <kurt@openldap.org>
Sun, 7 Feb 1999 18:24:05 +0000 (18:24 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 7 Feb 1999 18:24:05 +0000 (18:24 +0000)
servers/slapd/backend.c

index 41f0b5ed2e49e62ec495cd1e38b9690ac564da0a..8680ff8cf8d6cfbae4c99f375fb2c2ca53df358f 100644 (file)
@@ -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] );
                }
        }