I saw those, but it wasn't clear to me how to use them to get what I'm after.
- to start, call VLDDisable() then immediately VLDEnable()
- run the commands which leak
- call VLDDisable()
Now, how do I get a report of what has been allocated between the enable and disable? I tried calling VLDReportLeaks() after disabling it, but this reported nothing even for cases where I know I've allocated memory and not yet freed it.
So while I did see those APIs earlier, it wasn't clear to me based on looking through them and some testing how to achieve my goal.
Any idea what I might be missing in the above?