summaryrefslogtreecommitdiff
path: root/src/cryptenroll
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-08-12 15:24:31 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-08-13 02:53:41 +0900
commit7e196e9aac41da206792d96a16b712dd300b0e82 (patch)
tree74c76c221eea825b468abc3ef619dba65ff33f91 /src/cryptenroll
parent8680e40a2c99ab9123fa7c31c0c2121f8b6424e7 (diff)
downloadsystemd-7e196e9aac41da206792d96a16b712dd300b0e82.tar.gz
cryptenroll: fix memory leak
Diffstat (limited to 'src/cryptenroll')
-rw-r--r--src/cryptenroll/cryptenroll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptenroll/cryptenroll.c b/src/cryptenroll/cryptenroll.c
index 045adf871a..9b540e8837 100644
--- a/src/cryptenroll/cryptenroll.c
+++ b/src/cryptenroll/cryptenroll.c
@@ -51,6 +51,7 @@ STATIC_DESTRUCTOR_REGISTER(arg_pkcs11_token_uri, freep);
STATIC_DESTRUCTOR_REGISTER(arg_fido2_device, freep);
STATIC_DESTRUCTOR_REGISTER(arg_tpm2_device, freep);
STATIC_DESTRUCTOR_REGISTER(arg_node, freep);
+STATIC_DESTRUCTOR_REGISTER(arg_wipe_slots, freep);
static bool wipe_requested(void) {
return arg_n_wipe_slots > 0 ||