Issue 124269 - memory leak in drawinglayer's TextLayouterDevice::getTextArray()
Summary: memory leak in drawinglayer's TextLayouterDevice::getTextArray()
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: 3.4.0
Hardware: All All
: P3 Normal (vote)
Target Milestone: 4.1.0
Assignee: hdu@apache.org
QA Contact:
URL:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2014-02-20 12:28 UTC by hdu@apache.org
Modified: 2014-04-01 12:46 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: 4.1.0-dev
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description hdu@apache.org 2014-02-20 12:28:38 UTC
Drawinglayer's TextLayouterDevice class has a method getTextArray() that allocates a temporary integer array but never deletes it. As there is often a lot of text to be measured that leak is quite significant.
Comment 1 SVN Robot 2014-02-20 12:29:44 UTC
"hdu" committed SVN revision 1570167 into trunk:
#i124269# fix memory leak in drawinglayer's TextLayouterDevice::getTextArray()
Comment 2 hdu@apache.org 2014-02-20 12:30:36 UTC
Fixed with the commit above.
Comment 3 hdu@apache.org 2014-04-01 12:46:01 UTC
Closing the resolved issue.