Archived Forum Post

Index of archived forum posts


SendToDistributionList Memory Leaks

Jul 06 '12 at 11:03

Using VS2008 compiling example code: 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.


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: