better leak test output

This commit is contained in:
John Cupitt 2020-07-02 14:15:58 +01:00
parent 3c071a8ebb
commit 207d40f640

View File

@ -639,7 +639,7 @@ vips_leak( void )
vips_buf_appendf( &buf, "error buffer: %s",
vips_error_buffer() );
if( vips__n_active_threads != 0 )
if( vips__n_active_threads > 0 )
vips_buf_appendf( &buf, "threads: %d not joined\n",
vips__n_active_threads );