You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Piet van Bruggen <pi...@NewBridges.nl> on 2001/11/06 13:45:54 UTC

Xerces

When i compile a program with MFC, it automatically
checks if all mess on the heap is cleaned up.
When i integrate Xerces  ( 1.5.1) in my application, and 
only initialize and terminate the XMLPlatform, 
i get the following memory leaks.
Do you know where the problem is??
Do i forget to initialize something?? or is Xerces
not carefull in cleaning up??

					Piet
Using:
Xerces-C 1.5.1
Ms Visual C++ 6.0
MFC

Includes:
#include <util/PlatformUtils.hpp>

Code:
XMLPlatformUtils::Initialize();
XMLPlatformUtils::Terminate();

Debug output:
Dumping objects ->
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\crtdbg.h(552) : {48}
normal block at 0x007A2868, 256 bytes long.
 Data: <                > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\crtdbg.h(552) : {47}
normal block at 0x007A2820, 4 bytes long.
 Data: <|@  > 7C 40 10 12 
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\crtdbg.h(552) : {46}
normal block at 0x007A2628, 436 bytes long.
 Data: <                > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\crtdbg.h(552) : {45}
normal block at 0x007A25D0, 16 bytes long.
 Data: <    (&z m    (z > 01 CD CD CD 28 26 7A 00 6D 00 00 00 20 28 7A 00 
Object dump complete.
The thread 0x464 has exited with code 0 (0x0).

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org