Re: [ft-devel] Why my memory is not been freed?

2009-03-11 Thread Mickey Gabel
Jun.Wang wrote: Thanks very much for your kindly and carefully reply. I runs my programe on windows, I modified the FT_Done_FreeType, so I can call it several times to report current memory. With you reply, I know without FT_Done_FreeType there will be some memory not be released. If there

Re: [ft-devel] Why my memory is not been freed?

2009-03-10 Thread Werner LEMBERG
I use Arial.ttf. I uploaded my test project. Please Check. http://www.nabble.com/file/p22413476/GenfontData.rar I slightly modified (and formatted) your program so that it runs without errors using g++ -- in particular, g++ doesn't like jumps which cross an initialization. I compiled with

Re: [ft-devel] Why my memory is not been freed?

2009-03-09 Thread Jun.Wang
Bugzilla from w...@gnu.org wrote: Please upgrade to version 2.3.7 (or the current CVS or 2.3.9 next week) and try again. Werner I use ver2.3.7 test again. Follows are the memory report: //only 1 character FreeType Memory Dump: current=107502 max=107654 total=125708

Re: [ft-devel] Why my memory is not been freed?

2009-03-09 Thread David Turner
2009/3/7 Jun.Wang xjw...@sunmedia.com.cn I did the memory debug with a little modify. 1. In FT_Done_FreeType( FT_Library library ), I disabled the line: FT_Done_Library( library ), so the memory report will disaply the current memory. ??? 2. I call FT_Done_FreeType() before

Re: [ft-devel] Why my memory is not been freed?

2009-03-09 Thread Jun.Wang
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