[reSIProcate] Memory leak in TransactionState.cxx

Scott Godin slgodin at icescape.com
Tue Jan 11 15:11:27 CST 2005


I checked in a fix for this.  I also made a few other changes to ensure that
mMsgToRetrasmit is always deleted before it is set - to avoid other memory
leaks.

Thanks Kaiduan!


-----Original Message-----
From: kaiduan xie [mailto:kaiduanx at yahoo.ca] 
Sent: Monday, December 20, 2004 2:07 PM
To: resiprocate-devel at list.sipfoundry.org
Subject: [reSIProcate] Memory leak in TransactionState.cxx

Hi,

Caught a memory leak in
TransactionState::processClientInvite()

    else if (mState == Completed)
    {
   // Any retransmissions of the final response that
   // are received while in the "Completed" state MUST
   // cause the ACK to be re-passed to the transport
   // layer for retransmission.
   assert
(mMsgToRetransmit->header(h_RequestLine).getMethod()
== ACK);
    sendToWire(mMsgToRetransmit, true);
    delete msg; //xkd-2004-12-20
    }

Merry Christmas and Happy New year to all members of
resiprocate community.

Best regards,

kaiduan

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel at list.sipfoundry.org
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel



More information about the resiprocate-devel mailing list