< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[recon-devel] Memory leak


Hi Scott,

 

 

            After another test run of recon I found what may be another memory leak.  This time the offending allocation is done in the stack code.

 

            File:                 ParserContainer.hxx

            Code line:         void push_back(const T & t) { mParsers.push_back(new T(t)); }

 

            One level down the stack we find the immediate caller:

 

            File:                 Helper.cxx

            Code line:         response.header(h_Contacts).push_back(contact);

 

 

 

       As I did not detect a whole SipMessage leak I am guessing the defect is inside SipMessage code.

 

       If it is really a leak I am afraid that other objects pertaining to SipMessage may also need due destruction, although my run seemingly did not trigger their allocation and leak. It would be advisable who is maintaining stack code to make a more thorough review of SipMessage.

 

 

 

Best Regards,

Julio Cabezas,