Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False positive report with thread_local #73

Open
Balenty opened this issue Feb 29, 2020 · 0 comments
Open

False positive report with thread_local #73

Balenty opened this issue Feb 29, 2020 · 0 comments

Comments

@Balenty
Copy link

Balenty commented Feb 29, 2020

Using:
Windows
Visual Studio 2019
VLD 2.5.1

When i am having thread_local variabel in a global namespace stored they are constructed on thread creation and deconstructed at thread destroy.

Apparently the VLD-thread of BOOLEAN WINAPI LdrpCallInitRoutine is also constructing these thread_local variable but not deconstructing before reporting memory leaks.

So the VLD-created thread_local variables are reported being a leak.

As workaround leaks from the same ThreadID as the VLD Thread might be filtered out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant