Michaelangel007 / freetype-gl

Automatically exported from code.google.com/p/freetype-gl
Other
0 stars 0 forks source link

Missing freetype cleanup calls #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
texture-font.c has a number of error check cases, where freetype resources are 
not cleaned up. Notably starting at the following location:

http://code.google.com/p/freetype-gl/source/browse/branches/gl-3.0/texture-font.
c#398

The particular case on that line, frees the FT_Library, but not the loaded 
FT_Face. A few cases further down don't free the FT_Library, FT_Face or loaded 
FT_Stroker. Namely at:

- texture-font.c#425
- texture-font.c#437
- texture-font.c#456
- texture-font.c#476

Original issue reported on code.google.com by jimteeu...@gmail.com on 21 Oct 2012 at 3:39

GoogleCodeExporter commented 9 years ago
Thanks, its has been fixed.

Original comment by Nicolas.Rougier@gmail.com on 5 Nov 2012 at 10:16