You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by an...@locus.apache.org on 2000/04/28 02:19:19 UTC

cvs commit: xml-xerces/c/src/util TransService.cpp

andyh       00/04/27 17:19:19

  Modified:    c/src/util TransService.cpp
  Log:
  Clean up storage allocated by TransService at termination.
  
  Revision  Changes    Path
  1.17      +2 -1      xml-xerces/c/src/util/TransService.cpp
  
  Index: TransService.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/util/TransService.cpp,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- TransService.cpp	2000/03/28 19:43:19	1.16
  +++ TransService.cpp	2000/04/28 00:19:18	1.17
  @@ -73,7 +73,6 @@
   #include <util/TransENameMap.hpp>
   
   
  -
   // ---------------------------------------------------------------------------
   //  Local, static data
   //
  @@ -146,6 +145,8 @@
   
   XMLTransService::~XMLTransService()
   {
  +    delete gMappings;    // The contents of the gMappings hash table are owned by
  +    gMappings = 0;       //   the it, and so will be deleted by gMapping's destructor.
   }