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

Error in finding leak caused by array deleted by non-array delete

Jun 2, 2014 at 4:38 PM
Hi, All. I met a problem with non-array deleting when using VLD. VLD will not report memory leak for some simple code like: int* pt = new int[100]; delete pt;

I have google search a lot with this issue. It seems that I have to set ValidateHeapAllocs = yes in the VLD.ini file. But it does not seem to take effect.

Any idea about this issue? Thanks.