]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldbm/modify.c
Plug memory leak
[openldap] / servers / slapd / back-ldbm / modify.c
index 3e34178d209f796f1b97300d9e1dc52202a492e6..51d10c269197ab37358f2242a8df3fde6d3a36ae 100644 (file)
@@ -164,8 +164,8 @@ int ldbm_modify_internal(
        }
 
        /* check that the entry still obeys the schema */
-       rc = entry_schema_check( op->o_bd, e, save_attrs, text, textbuf, textlen );
-
+       rc = entry_schema_check( op->o_bd, e, save_attrs, get_manageDIT(op),
+               text, textbuf, textlen );
        if ( rc != LDAP_SUCCESS ) {
                Debug( LDAP_DEBUG_ANY, "entry failed schema check: %s\n",
                        *text, 0, 0 );