commit de1442ff02889a71651446bff27c0099ec80254a
parent f788632842b0a8a0e8e8c319b27e1433054605f6
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 29 Oct 2026 19:57:41 +0100
-fix bad free()
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/backend/test_merchant_high_fee_order.c b/src/backend/test_merchant_high_fee_order.c
@@ -99,14 +99,13 @@ test_case (const char *label,
if (0 != TALER_amount_cmp (&expected_total,
&want_total))
{
- char *got = TALER_amount2s (&expected_total);
+ const char *got = TALER_amount2s (&expected_total);
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Test '%s': expected total %s, got %s\n",
label,
want,
got);
- GNUNET_free (got);
GNUNET_assert (0);
}
}