incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120667] New: TextRanger, pBound member obj is not freed
Date Thu, 23 Aug 2012 01:14:52 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120667

          Priority: P3
            Bug ID: 120667
          Assignee: ooo-issues@incubator.apache.org
           Summary: TextRanger, pBound member obj is not freed
          Severity: normal
        Issue Type: DEFECT
    Classification: Code
                OS: All
          Reporter: zhangjf@apache.org
          Hardware: All
            Status: CONFIRMED
           Version: AOO 3.4.0
         Component: code
           Product: performance

pBound object created in GetBoundRect is never released.

const Rectangle& TextRanger::_GetBoundRect()
{
    DBG_ASSERT( 0 == pBound, "Don't call twice." );
    pBound = new Rectangle( mpPolyPolygon->GetBoundRect() );
    return *pBound;
}

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message