> > 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


Thank you for reporting.
Actually postscript_name was leaked however, it was fixed before
version 2.1.9.

2004-05-15  Werner Lemberg  <[EMAIL PROTECTED]>

        * src/sfnt/sfobjs.c (sfnt_done_face): Free face->postscript_name.

If you have much troubles with this leak, use FreeType2 newer than 2.1.8.

Masatake



_______________________________________________
Freetype mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to