]> git.sur5r.net Git - openldap/commitdiff
Fix previous commit
authorHoward Chu <hyc@openldap.org>
Wed, 26 Feb 2003 09:59:08 +0000 (09:59 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 26 Feb 2003 09:59:08 +0000 (09:59 +0000)
servers/slapd/mods.c

index 0fed9643b45f1a6e997ed71b22d5471f9b7f3ff3..d83ed68b7175a555a0f400256af6f865d6a218ca 100644 (file)
@@ -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 );