]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/home/homework-password-cache.c
Merge pull request #21331 from poettering/luks-extra-mount-options
[thirdparty/systemd.git] / src / home / homework-password-cache.c
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2
3 #include "homework-password-cache.h"
4
5 void password_cache_free(PasswordCache *cache) {
6 if (!cache)
7 return;
8
9 cache->pkcs11_passwords = strv_free_erase(cache->pkcs11_passwords);
10 cache->fido2_passwords = strv_free_erase(cache->fido2_passwords);
11 }