freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] FT_New_GlyphSlot crashes if out of memory allocating slot


From: Werner LEMBERG
Subject: Re: [ft-devel] FT_New_GlyphSlot crashes if out of memory allocating slot->internal
Date: Sat, 08 Nov 2008 08:28:19 +0100 (CET)

> If the danger is that maybe slot->internal==NULL, shouldn't the test
> be this instead?
> 
>   if (slot->internal && (slot->internal->flags & FT_GLYPH_OWN_BITMAP) )

I applied this change, thanks.


    Werner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]