]> git.sur5r.net Git - openldap/commitdiff
no SLAP_NVALUES here
authorKurt Zeilenga <kurt@openldap.org>
Thu, 27 Feb 2003 17:55:00 +0000 (17:55 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 27 Feb 2003 17:55:00 +0000 (17:55 +0000)
servers/slapd/back-bdb/id2entry.c

index 87260b65d818f984c3e343a103f7bc27d2060091..5e4ef60df488d9d6ac345c49336b95af563828fa 100644 (file)
@@ -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 */