]> git.sur5r.net Git - openldap/commitdiff
Fix db_close
authorHoward Chu <hyc@openldap.org>
Mon, 29 Nov 2004 14:17:16 +0000 (14:17 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 29 Nov 2004 14:17:16 +0000 (14:17 +0000)
servers/slapd/backover.c

index 5547bcd6c48ed8a9734c644ab201b0a918089e12..4ddb208a0e6f35ad4509cf0bce24c75ced9bea92 100644 (file)
@@ -160,7 +160,7 @@ over_db_close(
                }
        }
 
-       if ( be->bd_info->bi_db_close ) {
+       if ( oi->oi_orig->bi_db_close ) {
                be->bd_info = oi->oi_orig;
                rc = be->bd_info->bi_db_close( be );
        }