Fix Savannah bug #30788.

* src/cache/ftccache.c (FTC_Cache_Clear): Check `cache->buckets' for
NULL too.
dbgmem-more-limiters
Teijo Kinnunen 15 years ago committed by Werner Lemberg
parent a205b3ca85
commit ebaeb6425e
  1. 7
      ChangeLog
  2. 2
      src/cache/ftccache.c

@ -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…
Cancel
Save