free argv0 a little later

This commit is contained in:
John Cupitt 2021-06-01 19:02:41 +01:00
parent 43efbde995
commit 3870baef33

View File

@ -739,8 +739,6 @@ 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.
*/
@ -757,8 +755,10 @@ vips_shutdown( void )
done = TRUE;
}
VIPS_FREEF( vips_g_mutex_free, vips__global_lock );
VIPS_FREEF( g_timer_destroy, vips__global_timer );
VIPS_FREE( vips__argv0 );
VIPS_FREE( vips__prgname );
VIPS_FREEF( vips_g_mutex_free, vips__global_lock );
VIPS_FREEF( g_timer_destroy, vips__global_timer );
}
const char *