axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chinthana Danapala (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Commented: (AXISCPP-640) mallocs in C++ engine
Date Tue, 14 Jun 2005 08:02:49 GMT
    [ http://issues.apache.org/jira/browse/AXISCPP-640?page=comments#action_12313560 ] 

Chinthana Danapala commented on AXISCPP-640:
--------------------------------------------

I have removed the "malloc" and "free" code in SoapDeSerializer.cpp, XercesHandler.cpp files.
I have tested the changes with the full test cycle twice in windows, and got the result same
as before the changes in both the time.
But MessageData.cpp file one place have "malloc" code which I couldn't replace by the "new".

As Nadir Amra requested I didn't change the PlatformSpecificOS400.cpp file.


> mallocs in C++ engine
> ---------------------
>
>          Key: AXISCPP-640
>          URL: http://issues.apache.org/jira/browse/AXISCPP-640
>      Project: Axis-C++
>         Type: Bug
>   Components: Client - Engine
>     Reporter: Mark Whitlock
>     Assignee: Chinthana Danapala

>
> The Axis C++ engine should not use malloc/free/strdup. Instead it should use new/delete
because mixing the two APIs causes memory problems. There are mallocs in MessageData.cpp,
SoapDeSerializer.cpp, XercesHandler.cpp and PlatformSpecificOS400.cpp. These and other mallocs/frees/strdups
should be replaced.

-- 
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


Mime
View raw message