< Previous by Date | Date Index | Next by Date > |
Thread Index | Next in Thread > |
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@xxxxxxxxxxx
2005-11-25
|