axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McCullough (JIRA)" <>
Subject [jira] Created: (AXISCPP-1054) Memory Leak in SoapHeader destructor
Date Wed, 01 Oct 2008 19:57:44 GMT
Memory Leak in SoapHeader destructor

                 Key: AXISCPP-1054
             Project: Axis-C++
          Issue Type: Bug
          Components: SOAP
         Environment: Windows XP, VS6 with Compuware BoundsChecker 
            Reporter: Ryan McCullough
             Fix For: current (nightly)

SoapHeader::~SoapHeader() contains a memory leak. The m_headerBlocks member variable is never

The following code needs to be added to the beginning of the destructor before 'm_headerBlocks.clear();':
    // deletion of Header Block RHA added
    list<IHeaderBlock*>::iterator itCurrHeaderBlock= m_headerBlocks.begin();

    while(itCurrHeaderBlock != m_headerBlocks.end())
        delete *itCurrHeaderBlock;

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message