United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6887292 memory leak in freetypeScaler.c
6887292 : memory leak in freetypeScaler.c

Details
Type:
Bug
Submit Date:
2009-10-01
Status:
Resolved
Updated Date:
2011-01-14
Project Name:
JDK
Resolved Date:
2009-11-25
Component:
client-libs
OS:
generic
Sub-Component:
2d
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
7

Related Reports
Relates:

Sub Tasks

Description
Parfait found memory leak in the freetype glue code:

Error: Memory leak [Allocation bug dataflow] <a9ecd7cf8234837296a9c6307ad35215>
    Leak of pointer calloc(1, 80) at lines 298, 302 and 321
       at /export/datasets/jdk-b71-cristina/jdk/make/sun/font/../../../src/share/native/sun/font/freetypeScaler.c:296 in function 'Java_sun_font_FreetypeFontScaler_initNativeScaler'

                                    

Comments
EVALUATION

Apparently FT_Done_Face closes but does not release memory from the external stream object.
We need to do this explicitly.
                                     
2009-10-01



Hardware and Software, Engineered to Work Together