KindDragon / vld

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

Option to enable vld for release builds #46

Open PhilLab opened 6 years ago

PhilLab commented 6 years ago

If it is technically possible, it would be great to have the possibility to link and use VLD in your release build (of course with an option which is set to off by default).

This would then allow e.g. adding a call parameter to one's console application enableMemoryLeakDetection which could then be set by a Continuous Integration testing server to examine if new code caused new memory leaks.

reid-p commented 5 years ago

try compiling with VLD_FORCE_ENABLE