From e13246b9659eb4de3527eacbbe7875f61338ca90 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 26 Feb 2003 09:59:08 +0000 Subject: [PATCH] Fix previous commit --- servers/slapd/mods.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.5