You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2002/03/07 22:41:58 UTC
cvs commit: xml-xerces/c/tests/IDom/ITraversal ITraversal.cpp
peiyongz 02/03/07 13:41:58
Modified: c/tests/IDom/ITraversal ITraversal.cpp
Log:
Call Terminate() to avoid memory tools reporting memory leak
Revision Changes Path
1.8 +6 -0 xml-xerces/c/tests/IDom/ITraversal/ITraversal.cpp
Index: ITraversal.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/tests/IDom/ITraversal/ITraversal.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ITraversal.cpp 4 Feb 2002 21:56:57 -0000 1.7
+++ ITraversal.cpp 7 Mar 2002 21:41:58 -0000 1.8
@@ -66,6 +66,9 @@
/**
* $Log: ITraversal.cpp,v $
+ * Revision 1.8 2002/03/07 21:41:58 peiyongz
+ * Call Terminate() to avoid memory tools reporting memory leak
+ *
* Revision 1.7 2002/02/04 21:56:57 tng
* Test DOM Level 2 function getRoot.
*
@@ -580,6 +583,9 @@
delete doc;
};
+
+ // And call the termination method
+ XMLPlatformUtils::Terminate();
printf("Test Run Successfully\n");
return 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org