]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Sat, 3 Jul 2004 16:17:54 +0000 (16:17 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 3 Jul 2004 16:17:54 +0000 (16:17 +0000)
servers/slapd/back-bdb/cache.c

index f68f89e4f01d4759183ca5646ac47ed7049ccb9a..2f3d58e625e94f59c2e7bebfa3ed871f007b32fb 100644 (file)
@@ -179,6 +179,7 @@ bdb_cache_entryinfo_destroy( EntryInfo *e )
        } else { \
                (cache)->c_lrutail = (ei)->bei_lruprev; \
        } \
+       (ei)->bei_lrunext = (ei)->bei_lruprev = NULL; \
 } while(0)
 
 #define LRU_ADD( cache, ei ) do { \