diff --git a/src/wrapper.c b/src/wrapper.c index 7e57ab5d..06fbe5f9 100644 --- a/src/wrapper.c +++ b/src/wrapper.c @@ -182,6 +182,7 @@ void crypto_free(struct ssh_crypto_struct *crypto) crypto->ecdh_privkey = NULL; } #endif + SAFE_FREE(crypto->dh_server_signature); if (crypto->session_id != NULL) { explicit_bzero(crypto->session_id, crypto->digest_len); SAFE_FREE(crypto->session_id);