[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Why my memory is not been freed?
From: |
Jun.Wang |
Subject: |
Re: [ft-devel] Why my memory is not been freed? |
Date: |
Mon, 9 Mar 2009 18:18:15 -0700 (PDT) |
David Turner-5 wrote:
>
>
> This is a bug in your program. After FT_Done_FreeType() is called, every
> memory allocated
> by the corresponding FT_Library should be released (with the exception of
> FT_Glyph objects
> allocated by the user, but you are responsible for free-ing them before
> FT_Done_FreeType())
>
> Calling FT_Done_Face() after that is probably asking for a lot of trouble
> (i.e. waling dangling pointers
> in the heap).
>
>
Thanks for your reply. I know if the FT_Done_Face() is called only the
memory allocated for library is not released. But If I called FT_Done_Face()
I must call FT_New_Face again this will cause performance trouble with my
programe.
--
View this message in context:
http://www.nabble.com/Why-my-memory-is-not-been-freed--tp22383746p22426213.html
Sent from the Freetype - Dev mailing list archive at Nabble.com.
Re: [ft-devel] Why my memory is not been freed?, David Turner, 2009/03/09
- Re: [ft-devel] Why my memory is not been freed?,
Jun.Wang <=