summaryrefslogtreecommitdiffstats
path: root/src/cryptenroll/cryptenroll.c
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-12 19:53:41 +0200
commit7e196e9aac41da206792d96a16b712dd300b0e82 (patch)
tree74c76c221eea825b468abc3ef619dba65ff33f91 /src/cryptenroll/cryptenroll.c
parentupdate TODO (diff)
downloadsystemd-7e196e9aac41da206792d96a16b712dd300b0e82.tar.xz
systemd-7e196e9aac41da206792d96a16b712dd300b0e82.zip
cryptenroll: fix memory leak
Diffstat (limited to '')
-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 ||