Bugfix. (lru->remove() wasn't removing node mapping.)

This commit is contained in:
Sears Russell 2007-03-13 08:32:04 +00:00
parent 11da78e46b
commit 2e0ad972fd

View file

@ -36,6 +36,7 @@ static void* remove(struct replacementPolicy* r, void * p) {
assert(n);
value_t * v = n->v;
LL_ENTRY(remove)(l->lru, n);
l->setNode(p, 0, l->conf);
return v;
}
static void insert(struct replacementPolicy* r,