Issue Details (XML | Word | Printable)

Key: AXISCPP-384
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Samisa Abeysinghe
Reporter: Samisa Abeysinghe
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Axis-C++

Memory leaks in XSD type classes - should define destructor to clean

Created: 18/Jan/05 05:22 PM   Updated: 20/Jan/05 03:53 PM
Return to search
Component/s: Basic Architecture
Affects Version/s: current (nightly)
Fix Version/s: current (nightly)

Time Tracking:
Not Specified

Environment: All platforms
Issue Links:
dependent
 

Resolution Date: 20/Jan/05 03:42 PM


 Description  « Hide
There are numerous memory leaks in the classes in ws-axis\c\src\soap\xsd. This was revealed by purifier tools.

Especially the memory allocated inside serialize method is never deallocated.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Samisa Abeysinghe added a comment - 18/Jan/05 05:31 PM
Additionally, have to use memory allocation best practices in allocating/deallocating memory.

Samisa Abeysinghe added a comment - 18/Jan/05 05:39 PM
Fixed HexBinary class

Samisa Abeysinghe added a comment - 18/Jan/05 05:59 PM
Adrian, I assigned you as per your request. Thanks.

Johan Fischer added a comment - 18/Jan/05 06:11 PM
Isn't it related to AXISCPP-359 ?

Cheers.

Samisa Abeysinghe added a comment - 19/Jan/05 11:15 AM
AXISCPP-359 is not the same but is related.
Worth having a look into that as well.

AXISCPP-359 looks important for continuously running applications

Adrian Dick added a comment - 20/Jan/05 12:27 AM
All existing XSD objects have now had the suggested changes made, to prevent memory leaks.
I shall ensure the remaining XSD objects will be implemented to incorporate these suggestions.

Samisa Abeysinghe added a comment - 20/Jan/05 11:38 AM
There seem to be some few more hidden leaks. I will try and fix those

Samisa Abeysinghe added a comment - 20/Jan/05 03:42 PM
Fixed some more leaks in Int, Integer, Float, Decimal, DateTime, Base64Binary and HexBinary classes

Samisa Abeysinghe added a comment - 20/Jan/05 03:53 PM
Many leaks related to xsd types were fixed with the help from Adrian