Clean up more resources in vips_shutdown

This commit is contained in:
GOUJON Évan 2021-05-31 19:13:57 +02:00
parent 889ca96648
commit 3e9da95b84

View File

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