summaryrefslogtreecommitdiff
path: root/src/home/homework-password-cache.c
blob: 87d90c9184cb777882765aeca2df47e4e05e0530 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: LGPL-2.1-or-later */

#include "homework-password-cache.h"

void password_cache_free(PasswordCache *cache) {
        if (!cache)
                return;

        cache->pkcs11_passwords = strv_free_erase(cache->pkcs11_passwords);
        cache->fido2_passwords = strv_free_erase(cache->fido2_passwords);
}