Commit 2947f6aa authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

Let the LRU code worry about this.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1727 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent c4bc3c00
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment