Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1949

getWholeText leaks memory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.1, 3.1.0, 3.1.1
    • 3.1.2, 3.2.0
    • None
    • None

    Description

      The getWholeText API allocates memory using the memory manager instead of relying on DOMDocument's pool; so the const XMLCh* returned is either leaked or manually freed by the caller after casting off the const modifier

      Attachments

        Activity

          People

            amassari Alberto Massari
            amassari Alberto Massari
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: