oops, missed another NULL
This commit is contained in:
parent
7bc0ca7283
commit
bf56f8f203
@ -690,7 +690,10 @@ vips_cache_get_lru( void )
|
||||
g_hash_table_foreach( vips_cache_table,
|
||||
(GHFunc) vips_cache_get_lru_cb, &entry );
|
||||
|
||||
return( entry->operation );
|
||||
if( entry )
|
||||
return( entry->operation );
|
||||
|
||||
return( NULL );
|
||||
}
|
||||
|
||||
/* Is the cache full? Drop until it's not.
|
||||
|
Loading…
Reference in New Issue
Block a user