freetype-devel
[Top][All Lists]
Advanced

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

Re: [Devel] mem leak in t1 loading


From: Tom Kacvinsky
Subject: Re: [Devel] mem leak in t1 loading
Date: Mon, 8 Oct 2001 10:24:45 -0400 (EDT)

What version of FreeType are you using?  There were problems with some
memory getting tromped on in the subroutines parsing part, but I fixed
that.  Unfortunately, I cannot remember which version this change was
made in.  The change should be in the current CVS FreeType 2 tree.

On Mon, 8 Oct 2001, Peter Daukintis wrote:

> Hello,
>
> I seem to be experiencing a memory leak when loading a type 1 font with the
> following code lines;
>
> FT_Library library = NULL;
> FT_Face face;
>
> FT_Init_FreeType(&library);
>
> // mem check point here.......
>
> FT_New_Face( library, filepath, 0, &face);
> FT_Done_Face(face);
>
> // mem dump here.......
>
> FT_Done_FreeType(library);
>
> The subrs table seems to be leaking memory, is there a fix for this or maybe
> I 've made a mistake here but I couldn't find a free to correspond with
> FT_Alloc: size = 4096, block = 0x0299A028, ref = 0x0012F2E4. I've attached
> the output trace.
>
> Regards, Peter D. <<output.txt>>
>
>




reply via email to

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