Skip to content

Commit

Permalink
Fix LRUCache::prune. (sogou#1508)
Browse files Browse the repository at this point in the history
  • Loading branch information
Barenboim authored Mar 21, 2024
1 parent 8d7266f commit 29e9d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/LRUCache.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class LRUCache
{
e = list_entry(pos, Handle, list);
assert(e->ref == 1);
rb_erase(&e->rb);
rb_erase(&e->rb, &this->cache_map);
this->erase_node(e);
}
}
Expand Down

0 comments on commit 29e9d9d

Please sign in to comment.