/* $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
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 );
}
}
return 0;
}
-#if 0
+#if 1
/* Quicksort + Insertion sort for small arrays */