The "free" call frees the object immediately, ignoring the reference count.
Sadly, it is actually used in a few places, so we need to model it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
clang/test/Analysis/osobject-retain-release.cpp | ||
---|---|---|
83 ↗ | (On Diff #175989) | I think it's good to specify that we expect a use-after-free warning and not a leak warning. |