From: Kurt Zeilenga Date: Thu, 27 Feb 2003 17:55:00 +0000 (+0000) Subject: no SLAP_NVALUES here X-Git-Tag: OPENLDAP_REL_ENG_2_1_14~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=373f9ebc1eee47cf86e7d3c7f4cf9d0a99fbfe4c;p=thirdparty%2Fopenldap.git no SLAP_NVALUES here --- diff --git a/servers/slapd/back-bdb/id2entry.c b/servers/slapd/back-bdb/id2entry.c index 87260b65d8..5e4ef60df4 100644 --- a/servers/slapd/back-bdb/id2entry.c +++ b/servers/slapd/back-bdb/id2entry.c @@ -204,18 +204,6 @@ int bdb_entry_return( if( (void *) e->e_attrs != (void *) (e+1)) { attrs_free( e->e_attrs ); } -#ifdef SLAP_NVALUES - else { - /* nvals are not contiguous with the rest. oh well. */ - Attribute *a; - for (a = e->e_attrs; a; a=a->a_next) { - if (a->a_nvals) { - ber_bvarray_free( a->a_nvals ); - a->a_nvals = NULL; - } - } - } -#endif #ifndef BDB_HIER /* See if the DNs were changed by modrdn */