oops, missed another NULL

This commit is contained in:
John Cupitt 2014-06-12 14:41:04 +01:00
parent 7bc0ca7283
commit bf56f8f203

View File

@ -690,7 +690,10 @@ vips_cache_get_lru( void )
g_hash_table_foreach( vips_cache_table, g_hash_table_foreach( vips_cache_table,
(GHFunc) vips_cache_get_lru_cb, &entry ); (GHFunc) vips_cache_get_lru_cb, &entry );
if( entry )
return( entry->operation ); return( entry->operation );
return( NULL );
} }
/* Is the cache full? Drop until it's not. /* Is the cache full? Drop until it's not.