summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/unittests/torture_pki.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unittests/torture_pki.c b/tests/unittests/torture_pki.c
index ef003f1..1d14938 100644
--- a/tests/unittests/torture_pki.c
+++ b/tests/unittests/torture_pki.c
@@ -484,6 +484,7 @@ static void torture_pki_duplicate_key_rsa(void **state)
ssh_key_free(pubkey);
ssh_key_free(privkey);
+ ssh_key_free(privkey_dup);
ssh_string_free_char(b64_key);
ssh_string_free_char(b64_key_gen);
}
@@ -526,6 +527,7 @@ static void torture_pki_duplicate_key_dsa(void **state)
ssh_key_free(pubkey);
ssh_key_free(privkey);
+ ssh_key_free(privkey_dup);
ssh_string_free_char(b64_key);
ssh_string_free_char(b64_key_gen);
}