Bionic doesn't acutally allocate any memory in this case, so there won't be a leak on Android.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/test/asan/TestCases/leaks.cpp | ||
---|---|---|
16 | other platform allocate stuff, so maybe just something here like this |
other platform allocate stuff, so maybe just something here like this
if (ANDROID && n == 0) n = 1;