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

*** shadow/1262 Mon Apr  9 04:57:54 2001
--- shadow/1262.tmp.15820       Mon Apr  9 04:57:54 2001
***************
*** 0 ****
--- 1,31 ----
+ +============================================================================+
+ | Can't delete the pointer returned by DOMString::transcode()                |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1262                        Product: Xerces-C                |
+ |       Status: NEW                         Version: 1.4                     |
+ |   Resolution:                            Platform: PC                      |
+ |     Severity: Blocker                  OS/Version: Windows 9x              |
+ |     Priority: High                      Component: Build                   |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                  |
+ |  Reported By: [EMAIL PROTECTED]                                               |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ On Visual C++ 6.0 WIN32 DEBUG I can't delete the pointer returned by 
+ DOMString::transcode() because the new is made in xerces-c1_4.dll and doing a 
+ delete in another module gives an error. I think you must provide a member 
+ function to the class DOMString to delete the pointer returned in the same 
+ address space.
+ 
+ You can simulate this with the next lines:
+ 
+ DOMString ds( "A String" );
+ char *str = ds.transcode()
+ ...
+ delete str;  // that is the problem ____
+ // ds.free_transcode( str );  // possible solution ____
+ 
+ Thanks and best regards

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

Reply via email to