aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2019-11-05 13:10:56 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-12-09 16:08:03 +0100
commit80d092037fd462b020f42bafd8ea49c40d29ce20 (patch)
tree4f7e0ab0c86d2b946f80d6987903923b9da0153a /src
parent45d9802e1be52a34f2a10abf34f99113345468da (diff)
downloadlibssh-80d092037fd462b020f42bafd8ea49c40d29ce20.tar.gz
libssh-80d092037fd462b020f42bafd8ea49c40d29ce20.tar.xz
libssh-80d092037fd462b020f42bafd8ea49c40d29ce20.zip
dh-gex: Use SSH_STRING_FREE()
Fixes T183 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/dh-gex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dh-gex.c b/src/dh-gex.c
index 16ecd1be..6c75c69e 100644
--- a/src/dh-gex.c
+++ b/src/dh-gex.c
@@ -265,7 +265,7 @@ static SSH_PACKET_CALLBACK(ssh_packet_client_dhgex_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;
}