diff --git a/src/util/LRUCache.h b/src/util/LRUCache.h index c08605ab..6b13d493 100644 --- a/src/util/LRUCache.h +++ b/src/util/LRUCache.h @@ -105,7 +105,7 @@ public: list_for_each_safe(pos, tmp, &this->not_use) { - e = list_entry(&pos, Handle, list); + e = list_entry(pos, Handle, list); assert(e->ref == 1); rb_erase(&e->rb); this->erase_node(e);