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

Memory Leak in XercesHandler destructor

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • current (nightly)
    • None
    • Windows XP, VS6 with Compuware BoundsChecker

    Description

      m_NsStack & m_CurrPrefixMappings need to be cleared in the destructor. We propose this change in xml\xerces\XercesHandler.cpp:

      XercesHandler::
      ~XercesHandler()
      {
      delete m_pNextElement;
      delete m_pPrefixMappingElement;
      m_NsStack.clear();
      m_CurrPrefixMappings.clear();
      }

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            rmccullough Ryan McCullough
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment