forked from minhngoc25a/freetype2
Fix Savannah bug #30788.
* src/cache/ftccache.c (FTC_Cache_Clear): Check `cache->buckets' for NULL too.
This commit is contained in:
parent
a205b3ca85
commit
ebaeb6425e
|
@ -1,3 +1,10 @@
|
|||
2010-08-17 Teijo Kinnunen <Teijo.Kinnunen@nuance.com>
|
||||
|
||||
Fix Savannah bug #30788.
|
||||
|
||||
* src/cache/ftccache.c (FTC_Cache_Clear): Check `cache->buckets' for
|
||||
NULL too.
|
||||
|
||||
2010-08-10 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Try to fix Savannah bug #30717 (and probably #30719 too).
|
||||
|
|
|
@ -346,7 +346,7 @@
|
|||
static void
|
||||
FTC_Cache_Clear( FTC_Cache cache )
|
||||
{
|
||||
if ( cache )
|
||||
if ( cache && cache->buckets )
|
||||
{
|
||||
FTC_Manager manager = cache->manager;
|
||||
FT_UFast i;
|
||||
|
|
Loading…
Reference in New Issue