From: Luke Howard Date: Tue, 1 Apr 2003 16:42:24 +0000 (+0000) Subject: Fix SLAPI crasher X-Git-Tag: AUTOCONF_2_57~128 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9da00ad42df74246c12fa0cd93bcc9b5abf5ab07;p=openldap Fix SLAPI crasher --- diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index 91a2530cf4..d3d28a8026 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; } - ldap_mods_free( modv, 1 ); + slapi_x_free_ldapmods( modv, 1 ); modv = NULL; goto cleanup; }