Merge pull request #2276 from okft/master

Clean up more resources in vips_shutdown
This commit is contained in:
John Cupitt 2021-06-01 19:00:06 +01:00 committed by GitHub
commit 43efbde995
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -739,6 +739,8 @@ vips_shutdown( void )
gsf_shutdown();
#endif /*HAVE_GSF*/
VIPS_FREE(vips__argv0);
/* In dev releases, always show leaks. But not more than once, it's
* annoying.
*/
@ -754,6 +756,9 @@ vips_shutdown( void )
done = TRUE;
}
VIPS_FREEF( vips_g_mutex_free, vips__global_lock );
VIPS_FREEF( g_timer_destroy, vips__global_timer );
}
const char *