freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ft] FT_Get_Postscript_Name leaks for TT fonts


From: Sergey Tolstov
Subject: RE: [ft] FT_Get_Postscript_Name leaks for TT fonts
Date: Sat, 27 Aug 2005 04:56:51 -0700

> Hi,
> 
> > Hello,
> >
> > Freetype2 function FT_Get_Postscript_Name leaks for TT fonts.
> > Because
> >     tt_face_done in src\truetype\ttobjs.c does not delete 
> > postscript_name.
> >
> > Is this the place to submit bugs?
> 
> Yes. Could you tell me more?
> Please, don't forget writing the version of FreeType2.
> In my short investigation into the CVS version of FreeType2, 
> I cannot find the leak.
> 
> 
> Here is the call chain from tt_face_done to tt_face_free_ps_names.
> 

Unfortunately, I can not tell you the version number. It is from 2003.
I have 2.1.10 also, but can not test it right now.
However, from what I see from the source there, the leek should occur
also.

The function sfnt_get_ps_name( TT_Face  face ) in sfdriver.c allocates
the
        postscript_name
member of TT_Face. This member does not get into any table to be freed.

I am loading Arial Unicode MS or Arial.

Thanks,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]