Clean up more resources in vips_shutdown
This commit is contained in:
parent
889ca96648
commit
3e9da95b84
@ -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 *
|
||||||
|
Loading…
Reference in New Issue
Block a user