tng 2003/02/05 10:29:27
Modified: c/src/xercesc/util/Platforms/Tandem TandemPlatformUtils.cpp
Log:
[Bug 13437] Incorrect memory management in XXXPlatformUtils.cpp.
Revision Changes Path
1.6 +4 -1
xml-xerces/c/src/xercesc/util/Platforms/Tandem/TandemPlatformUtils.cpp
Index: TandemPlatformUtils.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/Tandem/TandemPlatformUtils.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- TandemPlatformUtils.cpp 9 Jan 2003 15:30:39 -0000 1.5
+++ TandemPlatformUtils.cpp 5 Feb 2003 18:29:27 -0000 1.6
@@ -56,6 +56,9 @@
/*
* $Log$
+ * Revision 1.6 2003/02/05 18:29:27 tng
+ * [Bug 13437] Incorrect memory management in XXXPlatformUtils.cpp.
+ *
* Revision 1.5 2003/01/09 15:30:39 tng
* Missing panic function in Tandem
*
@@ -328,7 +331,7 @@
throw XMLPlatformUtilsException("Could not destroy a mutex");
}
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]