From 09dfda84893ad434338c2856affc85d94d867a60 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 28 Oct 2019 12:25:30 +0100 Subject: [PATCH] libcrypto: Use SSH_STRING_FREE() Fixes T183 Signed-off-by: Andreas Schneider Reviewed-by: Jakub Jelen --- src/libgcrypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libgcrypt.c b/src/libgcrypt.c index df192392..17d544ea 100644 --- a/src/libgcrypt.c +++ b/src/libgcrypt.c @@ -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; }