Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-392

axis2_op_client_add_msg_ctx causes multiple leaks

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.95
    • Fix Version/s: 0.96
    • Component/s: core/clientapi
    • Labels:
      None

      Description

      axis2_op_client_add_msg_ctx does not handle possible memory leaks (and the comment too says so)

      This needs to be fixed as this causes too many leaks.

      Also, the logic seems to be hacky here (I think I am the one who wrote this )
      Ideally, we should let operation context to handle memory here, as it is the one dealing with storing the message contexes.
      Having op_client handling this is a bad idea.

        Activity

        Hide
        samisa Samisa Abeysinghe added a comment -

        Managed to fix this after a bit of a struggle

        Show
        samisa Samisa Abeysinghe added a comment - Managed to fix this after a bit of a struggle

          People

          • Assignee:
            samisa Samisa Abeysinghe
            Reporter:
            samisa Samisa Abeysinghe
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development