From: Howard Chu Date: Wed, 26 Feb 2003 09:59:08 +0000 (+0000) Subject: Fix previous commit X-Git-Tag: NO_SLAP_OP_BLOCKS~287 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e13246b9659eb4de3527eacbbe7875f61338ca90;p=openldap Fix previous commit --- diff --git a/servers/slapd/mods.c b/servers/slapd/mods.c index 0fed9643b4..d83ed68b71 100644 --- a/servers/slapd/mods.c +++ b/servers/slapd/mods.c @@ -629,7 +629,7 @@ modify_delete_values( } a->a_vals[ j ].bv_val = NULL; #ifdef SLAP_NVALUES - a->a_nvals[ j ].bv_val = NULL; + if (a->a_nvals) a->a_nvals[ j ].bv_val = NULL; #endif assert( i == k - j );