login about faq

Using VS2008 compiling example code: http://www.example-code.com/vcpp/smtp_distributionList.asp There is a memory leak.


The reported memory leak errors contain email addresses which are only available in the "distributionList.txt" file. So I'm assuming the memory leak occurs in the CkStringArray.

I tried calling dispose() but that did not fix the leak.

My code does call CkSettings::cleanupMemory(); when the program ends.

*** The memory leak was found to be in mailman.SendToDistributionList, not in CkStringArray.

asked Jul 01 '12 at 17:27

hw77041's gravatar image


The problem was found and fixed. The leak was actually in mailman.SendToDistributionList. The CkStringArray object did not have any problems.

Here are new VC++ 2008 builds:

32-bit: http://www.chilkatsoft.com/preRelease/chilkat-9.3.1-x86-vc9.zip
64-bit: http://www.chilkatsoft.com/preRelease/chilkat-9.3.1-x86_64-vc9.zip


answered Jul 03 '12 at 16:11

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Jul 01 '12 at 17:27

Seen: 3,882 times

Last updated: Jul 06 '12 at 11:03

powered by OSQA