[reSIProcate] memory leak on ServerPublication.
Scott Godin
slgodin at icescape.com
Fri Nov 25 07:46:20 CST 2005
I already fixed this issue in SVN head a few weeks back.
________________________________
From: resiprocate-devel-bounces at list.sipfoundry.org
[mailto:resiprocate-devel-bounces at list.sipfoundry.org] On Behalf Of
Derek MacDonald
Sent: Friday, November 25, 2005 4:55 AM
To: noiile at hotmail.com; 'resiprocate-devel'
Subject: RE: [reSIProcate] memory leak on ServerPublication.
That should probably be reset, not release...I'll look into it.
Thanks,
Derek
CONFIDENTIALITY NOTICE
This email and any files transmitted with it contains proprietary
information and, unless expressly stated otherwise, all contents and
attachments are confidential. This email is intended for the
addressee(s) only and access by anyone else is unauthorized. If you are
not an addressee, any disclosure, distribution, printing or copying of
the contents of this email or its attachments, or any action taken in
reliance on it, is unauthorized and may be unlawful. If you are not an
addressee, please inform the sender immediately and then delete this
email and any copies of it. Thank you for your co-operation.
________________________________
From: resiprocate-devel-bounces at list.sipfoundry.org
[mailto:resiprocate-devel-bounces at list.sipfoundry.org] On Behalf Of
Noiile
Sent: Thursday, November 24, 2005 8:57 PM
To: resiprocate-devel
Subject: [reSIProcate] memory leak on ServerPublication.
resiprocate-devel, Hello
In code ServerPublication::updateMatchingSubscriptions(),
ServerPublication release the ownership of mLastBody.mContents and
mLastBody.mAttributes.
I don't understand why do it like this, and I found that it will result
in memory leaks because no one will delete object mContents and
mAttributes, ServerPublication lost the ownership of them.
ServerPublication::updateMatchingSubscriptions()
{
........
//Noiile:MEMORY LEAKS!!!
//mLastBody.mContents.release();
//mLastBody.mAttributes.release();
}
Noiile, noiile at hotmail.com
<mailto:%3c!--AID_FROMADDRESS_BEGIN--%3enoiile at hotmail.com%3c!--AID_FROM
ADDRESS_END--%3e>
2005-11-25
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20051125/dd3065ea/attachment.htm>
More information about the resiprocate-devel
mailing list