diff options
-rw-r--r-- | src/exchange/taler-exchange-httpd_age-withdraw_reveal.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_age-withdraw_reveal.c b/src/exchange/taler-exchange-httpd_age-withdraw_reveal.c index 9b9f1cb88..632368ded 100644 --- a/src/exchange/taler-exchange-httpd_age-withdraw_reveal.c +++ b/src/exchange/taler-exchange-httpd_age-withdraw_reveal.c @@ -597,8 +597,9 @@ TEH_handler_age_withdraw_reveal ( } while(0); GNUNET_JSON_parse_free (spec); - for (unsigned int i = 0; i<actx.num_coins; i++) - TALER_blinded_denom_sig_free (&actx.commitment.denom_sigs[i]); + if (NULL != actx.commitment.denom_sigs) + for (unsigned int i = 0; i<actx.num_coins; i++) + TALER_blinded_denom_sig_free (&actx.commitment.denom_sigs[i]); GNUNET_free (actx.commitment.denom_sigs); GNUNET_free (actx.commitment.denom_pub_hashes); GNUNET_free (actx.commitment.denom_serials); |