You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org> on 2005/11/04 08:51:19 UTC

[jira] Commented: (AXISCPP-834) ~xsd__hexBinary() needs to delete the contents of __ptr

    [ http://issues.apache.org/jira/browse/AXISCPP-834?page=comments#action_12356753 ] 

Dushshantha Chandradasa commented on AXISCPP-834:
-------------------------------------------------

with following changes to ~xsd__hexBinary() 

xsd__hexBinary::~xsd__hexBinary() {
	if ( __ptr )
		delete __ptr;
}


 AxisBench_TTest to crash on Windows with following output file.

 StringType StringType
Unknown exception has occured
Unknown exception has occured
Unknown exception has occured
Unknown exception has occured
Unknown exception has occured
Unknown exception on clean up: 
Unknown exception has occured
Unknown exception on clean up: 
Unknown exception has occured
Unknown exception on clean up: 
Unknown exception on clean up: 
Unknown exception has occured
Unknown exception on clean up: 
Unknown exception has occured
Unknown exception on clean up: 
Unknown exception on clean up: 
Unknown exception has occured
Unknown exception on clean up: 
Unknown exception has occured
Unknown exception on clean up: 
Unknown exception has occured
Unknown exception on clean up: 

----------------------------------TEST COMPLETE--------------------------------



> ~xsd__hexBinary() needs to delete the contents of __ptr
> -------------------------------------------------------
>
>          Key: AXISCPP-834
>          URL: http://issues.apache.org/jira/browse/AXISCPP-834
>      Project: Axis-C++
>         Type: Bug
>  Environment: n/a
>     Reporter: Fred Preston
>     Assignee: Dushshantha Chandradasa
>      Fix For: 1.6 Alpha

>
> On the destructor of xsd__hexBinary() it needs to check if the __ptr value is not NULL and then delete it before returning.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira