tng         2003/02/05 10:28:21

  Modified:    c/src/xercesc/util/Platforms/IRIX IRIXPlatformUtils.cpp
  Log:
  [Bug 13437] Incorrect memory management in XXXPlatformUtils.cpp.
  
  Revision  Changes    Path
  1.7       +6 -3      
xml-xerces/c/src/xercesc/util/Platforms/IRIX/IRIXPlatformUtils.cpp
  
  Index: IRIXPlatformUtils.cpp
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/IRIX/IRIXPlatformUtils.cpp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- IRIXPlatformUtils.cpp     12 Dec 2002 16:28:55 -0000      1.6
  +++ IRIXPlatformUtils.cpp     5 Feb 2003 18:28:21 -0000       1.7
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.7  2003/02/05 18:28:21  tng
  + * [Bug 13437] Incorrect memory management in XXXPlatformUtils.cpp.
  + *
    * Revision 1.6  2002/12/12 16:28:55  peiyongz
    * MsgCatalogLoader added.
    *
  @@ -166,7 +169,7 @@
   #if defined(XML_USE_ICU_MESSAGELOADER)
       #include <xercesc/util/MsgLoaders/ICU/ICUMsgLoader.hpp>
   #elif defined (XML_USE_ICONV_MESSAGELOADER)
  -    #include <xercesc/util/MsgLoaders/MsgCatalog/MsgCatalogLoader.hpp>    
  +    #include <xercesc/util/MsgLoaders/MsgCatalog/MsgCatalogLoader.hpp>
   #else
       // Same as -DXML_USE_INMEM_MESSAGELOADER
       #include <xercesc/util/MsgLoaders/InMemory/InMemMsgLoader.hpp>
  @@ -205,7 +208,7 @@
   #if defined (XML_USE_ICU_MESSAGELOADER)
           retVal = new ICUMsgLoader(msgDomain);
   #elif defined (XML_USE_ICONV_MESSAGELOADER)
  -        retVal = new MsgCatalogLoader(msgDomain);        
  +        retVal = new MsgCatalogLoader(msgDomain);
   #else
           // same as -DXML_USE_INMEM_MESSAGELOADER
           retVal = new InMemMsgLoader(msgDomain);
  @@ -744,7 +747,7 @@
               ThrowXML(XMLPlatformUtilsException,
                        XMLExcepts::Mutex_CouldNotDestroy);
           }
  -        delete mtxHandle;
  +        delete (pthread_mutex_t*) mtxHandle;
       }
   }
   
  
  
  

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

Reply via email to