mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-10 18:28:10 +09:00
dh: Use SSH_STRING_FREE()
Fixes T183
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
(cherry picked from commit 5e21c24fab)
This commit is contained in:
2
src/dh.c
2
src/dh.c
@@ -365,7 +365,7 @@ SSH_PACKET_CALLBACK(ssh_packet_client_dh_reply){
|
|||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
rc = ssh_dh_import_next_pubkey_blob(session, pubkey_blob);
|
rc = ssh_dh_import_next_pubkey_blob(session, pubkey_blob);
|
||||||
ssh_string_free(pubkey_blob);
|
SSH_STRING_FREE(pubkey_blob);
|
||||||
if (rc != 0) {
|
if (rc != 0) {
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user