]> git.sur5r.net Git - openldap/commitdiff
Cleanup rs->sr_text after entry_schema_check succeeds
authorHoward Chu <hyc@openldap.org>
Wed, 19 Jan 2005 07:22:03 +0000 (07:22 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 19 Jan 2005 07:22:03 +0000 (07:22 +0000)
servers/slapd/back-ldbm/add.c

index a64a0a878e2f8d15d62e3df751fc23dace5d5be8..6bc32c1f221c0ed4e13169a88f094e2b547929ae 100644 (file)
@@ -55,6 +55,7 @@ ldbm_back_add(
                send_ldap_result( op, rs );
                return rs->sr_err;
        }
+       rs->sr_text = NULL;
 
 #ifdef LDBM_SUBENTRIES
        subentry = is_entry_subentry( op->oq_add.rs_e );