You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Jon Smirl <jo...@mediaone.net> on 2000/07/24 19:48:12 UTC

Xalan/Xerces-C: memory leak

Something is leaking memory in the Xalan/Xerces I just pulled from CVS.

Adding this:

#include "crtdbg.h"
#define new new(_NORMAL_BLOCK, __FILE__, __LINE__)

To the MSVC debug builds will tell me what source line the leak is occurring
on.

Without this I get reports like:

D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\crtdbg.h(552) : {299}
normal block at 0x015C51C0, 24 bytes long.
 Data: < Q\  R\  Q\     > C0 51 5C 01 10 52 5C 01 C0 51 5C 01 CD CD CD CD

Where the file and line info are useless.

Jon Smirl
jonsmirl@mediaone.net