Fix Savannah bug #30788.

* src/cache/ftccache.c (FTC_Cache_Clear): Check `cache->buckets' for
NULL too.
This commit is contained in:
Teijo Kinnunen 2010-08-17 07:40:55 +02:00 committed by Werner Lemberg
parent a205b3ca85
commit ebaeb6425e
2 changed files with 8 additions and 1 deletions

View File

@ -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).

View File

@ -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;