homework: fix memleak

Fixes #21521.
This commit is contained in:
Yu Watanabe 2021-11-26 00:14:29 +09:00
parent 47398ea705
commit 5601a9b910

View File

@ -11,6 +11,7 @@ void password_cache_free(PasswordCache *cache) {
cache->pkcs11_passwords = strv_free_erase(cache->pkcs11_passwords);
cache->fido2_passwords = strv_free_erase(cache->fido2_passwords);
cache->keyring_passswords = strv_free_erase(cache->keyring_passswords);
}
void password_cache_load_keyring(UserRecord *h, PasswordCache *cache) {