jberry 2003/09/06 15:37:55 Modified: c/src/xercesc/internal MemoryManagerArrayImpl.cpp Log: Fix bug #22938. Deletion of void* is illegal. Thanks Dave Bertoni. Revision Changes Path 1.2 +4 -4 xml-xerces/c/src/xercesc/internal/MemoryManagerArrayImpl.cpp Index: MemoryManagerArrayImpl.cpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/internal/MemoryManagerArrayImpl.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- MemoryManagerArrayImpl.cpp 26 Aug 2003 21:55:02 -0000 1.1 +++ MemoryManagerArrayImpl.cpp 6 Sep 2003 22:37:55 -0000 1.2 @@ -56,12 +56,12 @@ /* * $Log$ + * Revision 1.2 2003/09/06 22:37:55 jberry + * Fix bug #22938. Deletion of void* is illegal. Thanks Dave Bertoni. + * * Revision 1.1 2003/08/26 21:55:02 jberry * Add new memory allocator that allocates using new[], for use where returned memory must be able to be deleted using delete []. This saves duplicated code in cases where a routine is optionally called with a specific memory manager, such as in the case of transcode * - * Revision 1.1 2003/04/21 16:20:41 knoaman - * Initial check-in. - * */ @@ -82,7 +82,7 @@ void MemoryManagerArrayImpl::deallocate(void* p) { //::operator delete[](p); - delete[]p; + delete [] (char*)p; } XERCES_CPP_NAMESPACE_END
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]