diff options
Diffstat (limited to 'src/auditor/taler-auditor.c')
-rw-r--r-- | src/auditor/taler-auditor.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c index 0a947727c..cc526ec85 100644 --- a/src/auditor/taler-auditor.c +++ b/src/auditor/taler-auditor.c @@ -2835,6 +2835,7 @@ check_wire_out_cb &wcc.h_wire)) { GNUNET_break (0); + GNUNET_free (method); return GNUNET_SYSERR; } qs = edb->lookup_wire_transfer (edb->cls, @@ -2881,16 +2882,16 @@ check_wire_out_cb &wcc.total_deposits, wire_fee)) { - report_amount_arithmetic_inconsistency - ("wire out (fee structure)", - rowid, - &wcc.total_deposits, - wire_fee, - -1); + report_amount_arithmetic_inconsistency ("wire out (fee structure)", + rowid, + &wcc.total_deposits, + wire_fee, + -1); /* If fee arithmetic fails, we just assume the fee is zero */ final_amount = wcc.total_deposits; } } + GNUNET_free (method); /* Round down to amount supported by wire method */ GNUNET_break (TALER_amount_round_down (&final_amount, |