From: Pierangelo Masarati Date: Sun, 17 Apr 2005 19:12:46 +0000 (+0000) Subject: someone (e.g. an overlay) might muck with this data (e.g. remove a modification from... X-Git-Tag: OPENLDAP_AC_BP~879 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f2c4803dbd18b2d85e2ab4aa534fa24f2153c35b;p=openldap someone (e.g. an overlay) might muck with this data (e.g. remove a modification from the list...) --- diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index 8d467949d5..f9c64d4c9f 100644 --- a/servers/slapd/modify.c +++ b/servers/slapd/modify.c @@ -206,7 +206,7 @@ cleanup: op->o_tmpfree( op->o_req_dn.bv_val, op->o_tmpmemctx ); op->o_tmpfree( op->o_req_ndn.bv_val, op->o_tmpmemctx ); - if ( modlist != NULL ) slap_mods_free( modlist ); + if ( op->orm_modlist != NULL ) slap_mods_free( op->orm_modlist ); return rs->sr_err; }