http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2765

*** shadow/2765 Tue Jul 24 07:05:17 2001
--- shadow/2765.tmp.19235       Tue Jul 24 07:05:18 2001
***************
*** 0 ****
--- 1,29 ----
+ +============================================================================+
+ | Problem deleting memory allocated by XMLString::transcode                  |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2765                        Product: Xerces-C++              |
+ |       Status: NEW                         Version: 1.5.1                   |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Normal                   OS/Version: Windows 9x              |
+ |     Priority: Other                     Component: Utilities               |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                  |
+ |  Reported By: [EMAIL PROTECTED]                                               |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ When I try to delete memory allocated by XMLString::transcode, an assertion 
+ failure is caused somewhere in the delete procedure.  Assertion faults are only 
+ caused in debug mode, so if NDEBUG is defined there is no problem.
+ 
+ e.g.
+ 
+ /* 
+  * The following will cause an assertion fault in debug mode.
+  * Assume XMLChString is a pointer to some unicode string. (of type XMLCh *)
+  */
+ 
+ char * charString = XMLString::transcode(XMLChString);
+ delete charString;

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

Reply via email to