Michaelangel007 / freetype-gl

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

Memory leak #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In "texture-font.c" line 533

FT_Get_Glyph() allocates heap memory

Fix:

if( self->outline_type > 0 )
{
    FT_Done_Glyph( ft_glyph );
}

Should be moved inside load glyph loop.

Original issue reported on code.google.com by dsl129...@vip.cybercity.dk on 4 Jul 2012 at 8:49

GoogleCodeExporter commented 9 years ago
Thanks, it has been fixed.
Send me your name if you want to be in the credits !

Nicolas

Original comment by Nicolas.Rougier@gmail.com on 4 Jul 2012 at 8:55

GoogleCodeExporter commented 9 years ago
Hi

Thank you for your awesome work on freeftype gl

Kim Jacobsen

-----Oprindelig meddelelse----- 
From: freetype-gl@googlecode.com 
Sent: Wednesday, July 04, 2012 10:56 AM 
To: dsl129804@vip.cybercity.dk 
Subject: Re: Issue 25 in freetype-gl: Memory leak 

Original comment by dsl129...@vip.cybercity.dk on 4 Jul 2012 at 9:16

GoogleCodeExporter commented 9 years ago

Original comment by Nicolas.Rougier@gmail.com on 12 Jul 2012 at 11:12