diff options
Diffstat (limited to 'src/exchange-tools')
-rw-r--r-- | src/exchange-tools/taler-exchange-keyup.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c index 6324ed971..2f70a0d5c 100644 --- a/src/exchange-tools/taler-exchange-keyup.c +++ b/src/exchange-tools/taler-exchange-keyup.c @@ -1015,7 +1015,7 @@ create_wire_fee_for_method (void *cls, break; } GNUNET_free (amounts); - + GNUNET_free (opt); sign_af (af, wiremethod, @@ -1150,10 +1150,15 @@ revoke_denomination (const struct GNUNET_HashCode *hc) "KEYDIR"); return GNUNET_SYSERR; } - TALER_EXCHANGEDB_denomination_keys_iterate (rc.basedir, - &master_public_key, - &exchange_keys_revoke_by_dki, - &rc); + if (-1 == + TALER_EXCHANGEDB_denomination_keys_iterate (rc.basedir, + &master_public_key, + &exchange_keys_revoke_by_dki, + &rc)) + { + GNUNET_break (0); + return GNUNET_SYSERR; + } GNUNET_free (rc.basedir); return rc.ok; } |