aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapper.c b/src/wrapper.c
index 7ecb3101..16f93274 100644
--- a/src/wrapper.c
+++ b/src/wrapper.c
@@ -148,7 +148,7 @@ void crypto_free(struct ssh_crypto_struct *crypto){
return;
}
- SAFE_FREE(crypto->server_pubkey);
+ ssh_key_free(crypto->server_pubkey);
cipher_free(crypto->in_cipher);
cipher_free(crypto->out_cipher);