diff --git a/src/ecdh.c b/src/ecdh.c index 1be1d927..a4c07ccb 100644 --- a/src/ecdh.c +++ b/src/ecdh.c @@ -63,7 +63,7 @@ SSH_PACKET_CALLBACK(ssh_packet_client_ecdh_reply){ } rc = ssh_dh_import_next_pubkey_blob(session, pubkey_blob); - ssh_string_free(pubkey_blob); + SSH_STRING_FREE(pubkey_blob); if (rc != 0) { goto error; }