What steps will reproduce the problem?
1. Create any leptonlib based program.
What is the expected output? What do you see instead?
It would be nice if Visual Studio 2008/2010 displayed memory leak warnings.
What version of the product are you using? On what operating system?
leptonlib-1.65
Microsoft Visual Studio 2008 SP1 with latest updates also applied.
Windows XP Pro SP3.
Please provide any additional information below.
I have not yet done any testing for memory leaks under Windows XP.
Looks like we might want to add the vld.h file from Visual Leak Detector
(http://vld.codeplex.com/documentation) to one of the main leptonlib .h
files. Visual Leak Detector would then have to be added as a prerequisite
for building leptonlib on Windows and my VS2008 Notes would have to be updated.
Once this is done memory leaks will be automatically reported whenever an
application is built with LIB Debug or DLL Debug leptonlib and then run
under the VC++ debugger.
I suggest I investigate this further for the 1.66 leptonlib release.
(Apparently running programs under the VC++ debugger already has minimal
memory leak detection and I can't say I've ever noticed it complaining
about such. But then I was mainly just making sure the programs built and
ran without crashing.)
Original issue reported on code.google.com by tomp2...@gmail.com on 11 May 2010 at 6:11
Original issue reported on code.google.com by
tomp2...@gmail.com
on 11 May 2010 at 6:11