mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-29 01:03:57 +03:00
libcrypto: Use SSH_STRING_FREE()
Fixes T183 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
@@ -738,7 +738,7 @@ ssh_string ssh_sexp_extract_mpi(const gcry_sexp_t sexp,
|
||||
err = gcry_mpi_print(outformat, ssh_string_data(result), size, NULL, mpi);
|
||||
if (err != 0) {
|
||||
ssh_string_burn(result);
|
||||
ssh_string_free(result);
|
||||
SSH_STRING_FREE(result);
|
||||
result = NULL;
|
||||
goto fail;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user