small further change

helps a bit more, perhaps
This commit is contained in:
John Cupitt 2011-03-14 18:01:34 +00:00
parent 4cdd5640ea
commit 48a91627d1
1 changed files with 3 additions and 2 deletions

View File

@ -222,11 +222,12 @@ vips_init( const char *argv0 )
/* We make regions in parallel, so we have to be careful that any
* associated types are fully built before we start. We can't init the
* clases in two separate threads.
*
* We can't unref these two, since the last unref of the last region
* will finalize the class and trigger re-init.
*/
image = vips_image_new( "p" );
region = vips_region_new( image );
g_object_unref( region );
g_object_unref( image );
/* Load up any plugins in the vips libdir. We don't error on failure,
* it's too annoying to have VIPS refuse to start because of a broken