From: Luke Howard Date: Tue, 1 Apr 2003 16:43:04 +0000 (+0000) Subject: Fix SLAPI crasher X-Git-Tag: AUTOCONF_2_57~127 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8429210bed5620a6c5ddb8f6d202b346ec81822c;p=openldap Fix SLAPI crasher --- diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index d3d28a8026..cada1d417f 100644 --- a/servers/slapd/modify.c +++ b/servers/slapd/modify.c @@ -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; }