tng         2003/02/05 10:28:39

  Modified:    c/src/xercesc/util/Platforms/BeOS BeOSPlatformUtils.cpp
  Log:
  [Bug 13437] Incorrect memory management in XXXPlatformUtils.cpp.
  
  Revision  Changes    Path
  1.2       +6 -3      
xml-xerces/c/src/xercesc/util/Platforms/BeOS/BeOSPlatformUtils.cpp
  
  Index: BeOSPlatformUtils.cpp
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/BeOS/BeOSPlatformUtils.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BeOSPlatformUtils.cpp     12 Dec 2002 21:24:20 -0000      1.1
  +++ BeOSPlatformUtils.cpp     5 Feb 2003 18:28:39 -0000       1.2
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.2  2003/02/05 18:28:39  tng
  + * [Bug 13437] Incorrect memory management in XXXPlatformUtils.cpp.
  + *
    * Revision 1.1  2002/12/12 21:24:20  peiyongz
    * typo fix
    *
  @@ -158,7 +161,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);
  @@ -582,7 +585,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