Closed
Description
The leak checker considers allocations live when they can still be reached from a static
. However, this scan can only consider pointers that are still stored as pointer values (with provenance), not pointers cast to an integer (where provenance is lost).
This causes false positives, at least, for
- Windows
Mutex
(Enable leak checker on Windows #1302) - Any user of
AtomicPtr