From 8429210bed5620a6c5ddb8f6d202b346ec81822c Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Tue, 1 Apr 2003 16:43:04 +0000 Subject: [PATCH] Fix SLAPI crasher --- servers/slapd/modify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5