tng 2003/02/05 10:28:30
Modified: c/src/xercesc/util/Platforms/AIX AIXPlatformUtils.cpp
Log:
[Bug 13437] Incorrect memory management in XXXPlatformUtils.cpp.
Revision Changes Path
1.10 +2 -2 xml-xerces/c/src/xercesc/util/Platforms/AIX/AIXPlatformUtils.cpp
Index: AIXPlatformUtils.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/AIX/AIXPlatformUtils.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- AIXPlatformUtils.cpp 4 Nov 2002 15:13:00 -0000 1.9
+++ AIXPlatformUtils.cpp 5 Feb 2003 18:28:30 -0000 1.10
@@ -503,7 +503,7 @@
ThrowXML(XMLPlatformUtilsException, XMLExcepts::Mutex_CouldNotDestroy);
}
if ( (pthread_mutex_t*)mtxHandle)
- delete mtxHandle;
+ delete (pthread_mutex_t*) mtxHandle;
}
void XMLPlatformUtils::lockMutex(void* const mtxHandle)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]