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

index d3d28a80260873c96019909a4b61eb07b278c12c..cada1d417fdcf4414f563843ad5f9f41e2c6bcd3 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;
                }
-               slapi_x_free_ldapmods( modv, 1 );
+               slapi_x_free_ldapmods( modv );
                modv = NULL;
                goto cleanup;
        }