commit f72f27fd16fdd4c825b685ee21815bc5c31ccd86
parent 2b7e12c16f0144258e6fc13c5b00d55d7402c92c
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 13 Sep 2025 11:48:23 +0200
cleaner
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/mfa.c b/src/util/mfa.c
@@ -142,10 +142,10 @@ TALER_MERCHANT_mfa_body_hash (
GNUNET_CRYPTO_hash_context_read (hc,
json_str,
strlen (json_str));
+ free (json_str);
}
GNUNET_CRYPTO_hash_context_finish (hc,
&hash);
- GNUNET_free (json_str);
GNUNET_static_assert (sizeof (*h_body) <= sizeof (hash));
/* Truncate to short hash */