Bugfix. (lru->remove() wasn't removing node mapping.)
This commit is contained in:
parent
11da78e46b
commit
2e0ad972fd
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue