This project has moved and is read-only. For the latest updates, please go here.

Memory leak internal to Visual Leak Detector

Apr 18, 2013 at 3:51 PM
I am seeing a number of lines at the end of my leak detection which say:

"ERROR: Visual Leak Detector: Detected a memory leak internal to Visual Leak Detector!!"

with some more information. I am pretty sure that there are no threads which are still running when the main thread exits. Is there any other reason why VLD would report memory leaks within itself ?
Apr 18, 2013 at 4:59 PM
See this issue:

Basically if the OS reuses one or more thread ids in your program VLD will leak some memory. I have submitted pull request with what I believe is a fix. If you have VisualStudio you should be able to extract the source, patch, and build VLD. Hopefully my fix or one like will make it into the main binaries.