]> git.sur5r.net Git - openldap/commitdiff
Init entry in be_entry_get_rw
authorHoward Chu <hyc@openldap.org>
Fri, 4 Apr 2003 05:41:25 +0000 (05:41 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 4 Apr 2003 05:41:25 +0000 (05:41 +0000)
servers/slapd/backend.c

index 2adab86145d9896576ff4c615851a71fda5896d4..f925af767992ed7d332608252c53fbe9d2e02983 100644 (file)
@@ -1083,6 +1083,8 @@ be_entry_get_rw(
        Backend *be = op->o_bd;
        int rc;
 
+       *e = NULL;
+
        op->o_bd = select_backend( ndn, 0, 0 );
 
        if (op->o_bd == NULL) {