Skip to content
Snippets Groups Projects
Commit 3ece133f authored by Unknown (jpolast)'s avatar Unknown (jpolast)
Browse files

check if initialized in Terminate() to stop access violations

submitted by John_Roper@iOra.com


git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@172219 13f79535-47bb-0310-9956-ffa450edef68
parent 4c11ba63
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,10 @@
/*
* $Log$
* Revision 1.9 2000/06/26 20:30:04 jpolast
* check if initialized in Terminate() to stop access violations
* submitted by John_Roper@iOra.com
*
* Revision 1.8 2000/05/09 00:22:40 andyh
* Memory Cleanup. XMLPlatformUtils::Terminate() deletes all lazily
* allocated memory; memory leak checking tools will no longer report
......@@ -196,6 +200,10 @@ void XMLPlatformUtils::Initialize()
void XMLPlatformUtils::Terminate()
{
if (!gInitFlag)
return;
// Delete any net accessor that got installed
delete fgNetAccessor;
fgNetAccessor = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment