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.



_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to