To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=89158
------- Additional comments from [EMAIL PROTECTED] Thu May 22 08:07:44 +0000
2008 -------
this bug may caused by origin oo version mistake. i find a logic fault in
function "Font::operator=(const Font& rFont)". the key codes is:
if ( rFont.mpImplFont->mnRefCount )
rFont.mpImplFont->mnRefCount++;
if ( mpImplFont->mnRefCount )
{
if ( mpImplFont->mnRefCount == 1 )
delete mpImplFont;
else
mpImplFont->mnRefCount--;
}
mpImplFont = rFont.mpImplFont;
return *this;
if mpImplFont's mnRefCount more than 1, program will dont delete mpImplFont
memory, and then mpImplFont point to another memory(rFont.mpImplFont) which
cause memory leak
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]