projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8680e40
)
cryptenroll: fix memory leak
author
Lennart Poettering
<lennart@poettering.net>
Fri, 12 Aug 2022 13:24:31 +0000
(15:24 +0200)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Fri, 12 Aug 2022 17:53:41 +0000
(
02:53
+0900)
src/cryptenroll/cryptenroll.c
patch
|
blob
|
history
diff --git
a/src/cryptenroll/cryptenroll.c
b/src/cryptenroll/cryptenroll.c
index 045adf871a1666d5ce76f1b4855bcd75ee81e80d..9b540e88378e69d28c7125d7cef862781a4dd242 100644
(file)
--- 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 ||