Skip to content

Commit 5f611c1

Browse files
committed
Backport upstream fix for potential PCRE cache deadlock
See facebook#9032 for the upstream bug report and fix. Closes facebook#9032.
1 parent 80100e4 commit 5f611c1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

hphp/util/concurrent-lru-cache.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ insert(const TKey& key, const TValue& value) {
283283
delete node;
284284
return false;
285285
}
286+
hashAccessor.release();
286287

287288
// Evict if necessary, now that we know the hashmap insertion was successful.
288289
size_t size = m_size.load();

0 commit comments

Comments
 (0)