diff --git a/src/wrapper.c b/src/wrapper.c index d53a61a3..bbd4e4b2 100644 --- a/src/wrapper.c +++ b/src/wrapper.c @@ -185,6 +185,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);