incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120028] There is a memory leak in function SwWW8ImplReader::MatchSdrBoxIntoFlyBoxItem
Date Tue, 19 Jun 2012 05:38:19 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120028

--- Comment #1 from ChaoHuang <chao.dev.h@gmail.com> ---
Code snippet:

       for(sal_uInt16 nLine = 0; nLine < 4; ++nLine)
            rBox.SetLine(new SvxBorderLine( aLine ), nLine);

A temporary object typed SvxBorderLine will be created to pass to function
"void SvxBoxItem::SetLine( const SvxBorderLine* pNew, sal_uInt16 nLine )", in
which the first argument will be used to construct a new object. But this
temporary object will not be released.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Mime
View raw message