knoaman     2003/11/24 09:07:53

  Modified:    c/src/xercesc/util PlatformUtils.cpp
  Log:
  Reset memory manager in Terminate
  
  Revision  Changes    Path
  1.13      +6 -5      xml-xerces/c/src/xercesc/util/PlatformUtils.cpp
  
  Index: PlatformUtils.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/PlatformUtils.cpp,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- PlatformUtils.cpp 17 Nov 2003 14:50:29 -0000      1.12
  +++ PlatformUtils.cpp 24 Nov 2003 17:07:53 -0000      1.13
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.13  2003/11/24 17:07:53  knoaman
  + * Reset memory manager in Terminate
  + *
    * Revision 1.12  2003/11/17 14:50:29  knoaman
    * Fix for bug 23930 by Ronald  Landheer-Cieslak.
    *
  @@ -407,14 +410,12 @@
   
       // de-allocate default memory manager
       if (fgMemMgrAdopted)
  -    {
           delete fgMemoryManager;
  -        fgMemoryManager = 0;
  -    }
       else
  -    {
           fgMemMgrAdopted = true;
  -    }
  +
  +    // set memory manager to 0
  +    fgMemoryManager = 0
   
       // And say we are no longer initialized
       gInitFlag = 0;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to