From: Howard Chu Date: Wed, 19 Jan 2005 07:22:03 +0000 (+0000) Subject: Cleanup rs->sr_text after entry_schema_check succeeds X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~339 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=692a3625a2017b07889e8da5b702be598c64ef79;p=openldap Cleanup rs->sr_text after entry_schema_check succeeds --- diff --git a/servers/slapd/back-ldbm/add.c b/servers/slapd/back-ldbm/add.c index a64a0a878e..6bc32c1f22 100644 --- a/servers/slapd/back-ldbm/add.c +++ b/servers/slapd/back-ldbm/add.c @@ -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 );