]> git.sur5r.net Git - openldap/commitdiff
ITS#6806 fix uninit'd NA.txn
authorHoward Chu <hyc@openldap.org>
Tue, 1 Feb 2011 21:21:31 +0000 (21:21 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 1 Feb 2011 21:21:31 +0000 (21:21 +0000)
servers/slapd/back-ndb/add.cpp

index 75d6c91a7c1a36b725eac6daee8b160a6962d46b..3ecc563832047dfba5dacd6986278456cc4ad5db 100644 (file)
@@ -51,6 +51,7 @@ ndb_back_add(Operation *op, SlapReply *rs )
                op->oq_add.rs_e->e_name.bv_val, 0, 0);
 
        ctrls[num_ctrls] = 0;
+       NA.txn = NULL;
 
        /* check entry's schema */
        rs->sr_err = entry_schema_check( op, op->oq_add.rs_e, NULL,