]> git.sur5r.net Git - openldap/commitdiff
Fix SLAPI crasher
authorLuke Howard <lukeh@openldap.org>
Tue, 1 Apr 2003 16:42:24 +0000 (16:42 +0000)
committerLuke Howard <lukeh@openldap.org>
Tue, 1 Apr 2003 16:42:24 +0000 (16:42 +0000)
servers/slapd/modify.c

index 91a2530cf42f236fd3e1f2e7ddcf45035559fab4..d3d28a80260873c96019909a4b61eb07b278c12c 100644 (file)
@@ -346,7 +346,7 @@ do_modify(
                if ( slapi_pblock_get( pb, SLAPI_RESULT_CODE, (void *)&rs->sr_err ) != 0) {
                        rs->sr_err = LDAP_OTHER;
                }
-               ldap_mods_free( modv, 1 );
+               slapi_x_free_ldapmods( modv, 1 );
                modv = NULL;
                goto cleanup;
        }