]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-bdb/idl.c
return structuralObjectClass errors
[openldap] / servers / slapd / back-bdb / idl.c
index 321e02e2327efbe64c351f8cf23dd49c86c57b1e..9e55ef3ca3b44a6f6a595e5d070f51e82f4bc6f0 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2000-2005 The OpenLDAP Foundation.
+ * Copyright 2000-2006 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -473,8 +473,7 @@ bdb_idl_cache_del_id(
                        IDL_LRU_DELETE( bdb, cache_entry );
                        ldap_pvt_thread_mutex_unlock( &bdb->bi_idl_tree_lrulock );
                        free( cache_entry->kstr.bv_val );
-                       if ( cache_entry->idl )
-                               free( cache_entry->idl );
+                       free( cache_entry->idl );
                        free( cache_entry );
                }
        }
@@ -1375,7 +1374,7 @@ int bdb_idl_append( ID *a, ID *b )
        return 0;
 }
 
-#if 0
+#if 1
 
 /* Quicksort + Insertion sort for small arrays */