commit 5c0d07b2cfc4027deab30b92af4138c26341b5e3 parent ba20fa8a9b6c68eabd2ed48846a06c42f1a3c461 Author: Christian Grothoff <grothoff@gnunet.org> Date: Wed, 15 Jul 2026 23:12:10 +0200 -fix comment Diffstat:
5 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/src/auditor/taler-helper-auditor-aggregation.c b/src/auditor/taler-helper-auditor-aggregation.c @@ -157,7 +157,7 @@ report_amount_arithmetic_inconsistency ( } else { - /* auditor < exchange */ + /* exchange <= auditor */ profitable = -profitable; TALER_ARL_amount_subtract (&delta, auditor, @@ -232,7 +232,7 @@ report_coin_arithmetic_inconsistency ( } else { - /* auditor < exchange */ + /* exchange <= auditor */ profitable = -profitable; TALER_ARL_amount_subtract (&delta, auditor, diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c @@ -398,7 +398,7 @@ report_amount_arithmetic_inconsistency ( } else { - /* auditor < exchange */ + /* exchange <= auditor */ profitable = -profitable; TALER_ARL_amount_subtract (&delta, auditor, diff --git a/src/auditor/taler-helper-auditor-purses.c b/src/auditor/taler-helper-auditor-purses.c @@ -170,7 +170,7 @@ report_amount_arithmetic_inconsistency ( } else { - /* auditor < exchange */ + /* exchange <= auditor */ profitable = -profitable; TALER_ARL_amount_subtract (&delta, auditor, diff --git a/src/auditor/taler-helper-auditor-reserves.c b/src/auditor/taler-helper-auditor-reserves.c @@ -201,7 +201,7 @@ report_amount_arithmetic_inconsistency ( } else { - /* auditor < exchange */ + /* exchange <= auditor */ profitable = -profitable; TALER_ARL_amount_subtract (&delta, auditor, diff --git a/src/lib/exchange_api_post-withdraw.c b/src/lib/exchange_api_post-withdraw.c @@ -1031,10 +1031,7 @@ TALER_EXCHANGE_post_withdraw_start ( ? &pwh->blinding_seed : NULL)) { - GNUNET_free (pwh->coin_data); - for (size_t i = 0; i < pwh->init_num_coins; i++) - TALER_denom_pub_free (&pwh->init_denoms_pub[i].key); - GNUNET_free (pwh->init_denoms_pub); + GNUNET_break (0); return TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE; } /* Free init data - no longer needed after prepare_coins */ @@ -1110,6 +1107,7 @@ TALER_EXCHANGE_post_withdraw_cancel ( } TALER_denom_pub_free (&cd->denom_pub.key); } + GNUNET_free (wh->coin_data); } TALER_EXCHANGE_post_blinding_prepare_cancel (wh->blinding_prepare_handle); @@ -1120,7 +1118,6 @@ TALER_EXCHANGE_post_withdraw_cancel ( GNUNET_free (wh->bp_coins); GNUNET_free (wh->bp_nonces); GNUNET_free (wh->bp_nonce_keys); - GNUNET_free (wh->coin_data); TALER_EXCHANGE_keys_decref (wh->keys); GNUNET_free (wh); }