]> git.sur5r.net Git - openldap/commitdiff
someone (e.g. an overlay) might muck with this data (e.g. remove a modification from...
authorPierangelo Masarati <ando@openldap.org>
Sun, 17 Apr 2005 19:12:46 +0000 (19:12 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sun, 17 Apr 2005 19:12:46 +0000 (19:12 +0000)
servers/slapd/modify.c

index 8d467949d5d16875caa2b7bb9c08715c24fafe09..f9c64d4c9f9a8a8163f416a4231f33cb5a67a174 100644 (file)
@@ -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;
 }