Huh, I just tried to use it and it couldn't catch any memory leaks at all. I even started putting in memory leaks on purpose, and each time it kept saying "No memory leaks detected."
You really use this? It doesn't seem to work worth a darn. For instance, this code should leak pretty badly.
Yet the output on the visual studio says:Qt Code:
#include "vld.h" int main () { char *pChar = new char[30]; pChar = 0; int *pInt = new int; return 0; }To copy to clipboard, switch view to plain text mode
Visual Leak Detector Version 1.9f installed.
No memory leaks detected.
Visual Leak Detector is now exiting.
Doesn't seem to work at all.
Paul
Bookmarks