Thanks for the reply. I'll do my best to help isolate the problem.
I was able to create a very simple MFC project that reproduces the problem. You can download it from
http://cid-b65b5474ac45b749.skydrive.li ... kTest2.zip
The project include/lib paths are relative, and assume that it is installed parallel to the IM directory. E.g. the following would be in the same sub-directory.
ImageMagick-6.4.5
MagickTest2
Notes:
- The leak seems related to the fact that I'm using MFC. I was unable to reproduce the problem when MFC wasn't in use.
- In this project the class MyTestClass calls Magick::InitializeMagick(NULL); in it's constructor, but the constructor is never executed because I never instantiate MyTestClass. There are no other Magick references, variables, etc anywhere in the project.
- I'm running this 32bit build under Windows Vista 64, IM 6.4.5 Dynamic w/ X11 stubs, Built under Visual Studio 2005.
- The output from Visual Studio that indicates there is a memory leak is available in a text file from
http://cid-b65b5474ac45b749.skydrive.li ... |_leak.txt