Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-384

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • current (nightly)
    • current (nightly)
    • Basic Architecture
    • None
    • All platforms

    Description

      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.

      Attachments

        Issue Links

          Activity

            Additionally, have to use memory allocation best practices in allocating/deallocating memory.

            samisa Don Samisa Abeysinghe added a comment - Additionally, have to use memory allocation best practices in allocating/deallocating memory.

            Fixed HexBinary class

            samisa Don Samisa Abeysinghe added a comment - Fixed HexBinary class

            Adrian, I assigned you as per your request. Thanks.

            samisa Don Samisa Abeysinghe added a comment - Adrian, I assigned you as per your request. Thanks.
            fischaz Johan Fischer added a comment -

            Isn't it related to AXISCPP-359 ?

            Cheers.

            fischaz Johan Fischer added a comment - Isn't it related to AXISCPP-359 ? Cheers.

            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

            samisa Don Samisa Abeysinghe added a comment - 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
            dicka Adrian Dick added a comment -

            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.

            dicka Adrian Dick added a comment - 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.

            There seem to be some few more hidden leaks. I will try and fix those

            samisa Don Samisa Abeysinghe added a comment - There seem to be some few more hidden leaks. I will try and fix those

            Fixed some more leaks in Int, Integer, Float, Decimal, DateTime, Base64Binary and HexBinary classes

            samisa Don Samisa Abeysinghe added a comment - Fixed some more leaks in Int, Integer, Float, Decimal, DateTime, Base64Binary and HexBinary classes

            Many leaks related to xsd types were fixed with the help from Adrian

            samisa Don Samisa Abeysinghe added a comment - Many leaks related to xsd types were fixed with the help from Adrian

            People

              samisa Don Samisa Abeysinghe
              samisa Don Samisa Abeysinghe
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: