diff --git a/lib/setup.c b/lib/setup.c index 74d94c39..7b51644b 100644 --- a/lib/setup.c +++ b/lib/setup.c @@ -6047,6 +6047,8 @@ crypt_reencrypt_info crypt_reencrypt_status(struct crypt_device *cd, static void __attribute__((destructor)) libcryptsetup_exit(void) { + crypt_token_unload_external_all(NULL); + crypt_backend_destroy(); crypt_random_exit(); }