diff --git a/hphp/util/concurrent-lru-cache.h b/hphp/util/concurrent-lru-cache.h index a9a5b3ae33c58..2148acf95e645 100644 --- a/hphp/util/concurrent-lru-cache.h +++ b/hphp/util/concurrent-lru-cache.h @@ -282,6 +282,7 @@ insert(const TKey& key, const TValue& value) { delete node; return false; } + hashAccessor.release(); // Evict if necessary, now that we know the hashmap insertion was successful. size_t size = m_size.load();