Azure / vld

Visual Leak Detector for Visual C++ 2008-2015
https://kinddragon.github.io/vld/
GNU Lesser General Public License v2.1
42 stars 25 forks source link

Possible false positives for thread_local std::unique_ptr<thing> #31

Open perdrix52 opened 1 month ago

perdrix52 commented 1 month ago

I send a report for many leaked objects to a co-developer who did the code that was implicated in these leaks.

He suspects that VLD is misreporting memory allocated using make_unique to initialise a thread_local std::unique_ptr.

Does anyone have any thoughts about this

David