oop, test for vips_object_all NULL
This commit is contained in:
parent
45b582678f
commit
f1b8b7e735
@ -1620,7 +1620,8 @@ vips_object_print_all_cb( VipsObject *object, int *n )
|
||||
void
|
||||
vips_object_print_all( void )
|
||||
{
|
||||
if( g_hash_table_size( vips__object_all ) > 0 ) {
|
||||
if( vips__object_all &&
|
||||
g_hash_table_size( vips__object_all ) > 0 ) {
|
||||
int n;
|
||||
|
||||
printf( "%d objects alive:\n",
|
||||
|
Loading…
Reference in New Issue
Block a user