commit 7a895a65287605c486d527705f964fdfe5d00fbb
parent c8a6836ac2c03aeed44159a666c1c12c01c8f57c
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Fri, 14 Aug 2026 18:34:19 +0200
-fix leak
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mhd/mhd_legal.c b/src/mhd/mhd_legal.c
@@ -279,6 +279,7 @@ TALER_MHD_reply_legal (struct MHD_Connection *conn,
resp);
GNUNET_break (MHD_YES == ret);
MHD_destroy_response (resp);
+ GNUNET_free (langs);
return ret;
}
}
diff --git a/src/util/secmod_eddsa.c b/src/util/secmod_eddsa.c
@@ -243,7 +243,7 @@ handle_sign_request (struct TES_Client *client,
};
enum TALER_ErrorCode ec;
- if (purpose_size != htonl (purpose->size))
+ if (purpose_size != ntohl (purpose->size))
{
struct TALER_CRYPTO_EddsaSignFailure sf = {
.header.size = htons (sizeof (sf)),