From f2c4803dbd18b2d85e2ab4aa534fa24f2153c35b Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sun, 17 Apr 2005 19:12:46 +0000 Subject: [PATCH] someone (e.g. an overlay) might muck with this data (e.g. remove a modification from the list...) --- servers/slapd/modify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }