1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-05 09:17:44 +03:00

cryptenroll: fix memory leak

(cherry picked from commit 7e196e9aac)
This commit is contained in:
Lennart Poettering 2022-08-12 15:24:31 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent 66b060225d
commit f279a6f4d1

View File

@ -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 ||