From 996bec1880b1d16b6a6da2a022e4306aad84b217 Mon Sep 17 00:00:00 2001 From: des Date: Fri, 20 Jul 2007 08:38:22 +0000 Subject: [PATCH] Let the LRU code worry about this. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1727 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_expire.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache_expire.c b/varnish-cache/bin/varnishd/cache_expire.c index fea85ce0..fc617d8f 100644 --- a/varnish-cache/bin/varnishd/cache_expire.c +++ b/varnish-cache/bin/varnishd/cache_expire.c @@ -82,8 +82,7 @@ void EXP_Terminate(struct object *o) { LOCK(&exp_mtx); - if (o->lru_stamp) - LRU_Remove(o); + LRU_Remove(o); if (o->heap_idx) binheap_delete(exp_heap, o->heap_idx); if (o->deathrow.tqe_next) { -- 2.39.5