From 26a29ee3628458a3dc6229d062969598c7602867 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 28 Oct 2019 13:45:32 +0100 Subject: [PATCH] dh: Use SSH_STRING_FREE() Fixes T183 Signed-off-by: Andreas Schneider Reviewed-by: Jakub Jelen (cherry picked from commit 5e21c24fab5a2888cc1e689f940e5724ab8b9713) --- src/dh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dh.c b/src/dh.c index 4869b37e..1260c055 100644 --- a/src/dh.c +++ b/src/dh.c @@ -365,7 +365,7 @@ SSH_PACKET_CALLBACK(ssh_packet_client_dh_reply){ goto error; } 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; }