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 "Fred Preston (JIRA)" <ax...@ws.apache.org> on 2004/12/09 13:08:10 UTC

[jira] Created: (AXISCPP-317) WSDL2WS - On the deletion of 'any' type, the delete should be array

WSDL2WS - On the deletion of 'any' type, the delete should be array
-------------------------------------------------------------------

         Key: AXISCPP-317
         URL: http://nagoya.apache.org/jira/browse/AXISCPP-317
     Project: Axis-C++
        Type: Bug
 Environment: n/a
    Reporter: Fred Preston


In WSDL2WS, the code that it generates for the destructor is incorrect.  Currently it is:-
if (any->_array[i]) delete any->_array[i];

I should be replaced with:-
if (any->_array[i]) delete[] any->_array[i]; 

This will then delete all elements in the array.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXISCPP-317) WSDL2WS - On the deletion of 'any' type, the delete should be array

Posted by "Fred Preston (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXISCPP-317?page=history ]
     
Fred Preston resolved AXISCPP-317:
----------------------------------

    Resolution: Fixed

> WSDL2WS - On the deletion of 'any' type, the delete should be array
> -------------------------------------------------------------------
>
>          Key: AXISCPP-317
>          URL: http://nagoya.apache.org/jira/browse/AXISCPP-317
>      Project: Axis-C++
>         Type: Bug
>  Environment: n/a
>     Reporter: Fred Preston
>     Assignee: Fred Preston

>
> In WSDL2WS, the code that it generates for the destructor is incorrect.  Currently it is:-
> if (any->_array[i]) delete any->_array[i];
> I should be replaced with:-
> if (any->_array[i]) delete[] any->_array[i]; 
> This will then delete all elements in the array.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (AXISCPP-317) WSDL2WS - On the deletion of 'any' type, the delete should be array

Posted by "Fred Preston (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXISCPP-317?page=history ]

Fred Preston reassigned AXISCPP-317:
------------------------------------

    Assign To: Fred Preston

> WSDL2WS - On the deletion of 'any' type, the delete should be array
> -------------------------------------------------------------------
>
>          Key: AXISCPP-317
>          URL: http://nagoya.apache.org/jira/browse/AXISCPP-317
>      Project: Axis-C++
>         Type: Bug
>  Environment: n/a
>     Reporter: Fred Preston
>     Assignee: Fred Preston

>
> In WSDL2WS, the code that it generates for the destructor is incorrect.  Currently it is:-
> if (any->_array[i]) delete any->_array[i];
> I should be replaced with:-
> if (any->_array[i]) delete[] any->_array[i]; 
> This will then delete all elements in the array.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (AXISCPP-317) WSDL2WS - On the deletion of 'any' type, the delete should be array

Posted by "Fred Preston (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXISCPP-317?page=history ]
     
Fred Preston closed AXISCPP-317:
--------------------------------


> WSDL2WS - On the deletion of 'any' type, the delete should be array
> -------------------------------------------------------------------
>
>          Key: AXISCPP-317
>          URL: http://nagoya.apache.org/jira/browse/AXISCPP-317
>      Project: Axis-C++
>         Type: Bug
>  Environment: n/a
>     Reporter: Fred Preston
>     Assignee: Fred Preston

>
> In WSDL2WS, the code that it generates for the destructor is incorrect.  Currently it is:-
> if (any->_array[i]) delete any->_array[i];
> I should be replaced with:-
> if (any->_array[i]) delete[] any->_array[i]; 
> This will then delete all elements in the array.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira