diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-06-04 11:33:06 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-06-04 11:33:06 +0200 |
commit | 466a7b7018c0a53a27e1d431019f6b5f7b3562e4 (patch) | |
tree | a1db22a5e2d7d1b7202ecdd50faddb2413e52b9b | |
parent | 401d2530b951039bb07a34db4cb5561c7abcd52e (diff) |
DCE
-rw-r--r-- | src/exchangedb/test_exchangedb.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c index 9e8d29650..db40f3653 100644 --- a/src/exchangedb/test_exchangedb.c +++ b/src/exchangedb/test_exchangedb.c @@ -536,7 +536,6 @@ test_melting (struct TALER_EXCHANGEDB_Session *session) struct TALER_EXCHANGEDB_RefreshMelt ret_refresh_session; struct DenomKeyPair *dkp; struct TALER_DenominationPublicKey *new_denom_pubs; - struct TALER_DenominationPublicKey *ret_denom_pubs; int ret; enum GNUNET_DB_QueryStatus qs; struct GNUNET_TIME_Absolute now; @@ -546,7 +545,6 @@ test_melting (struct TALER_EXCHANGEDB_Session *session) dkp = NULL; new_dkp = NULL; new_denom_pubs = NULL; - ret_denom_pubs = NULL; /* create and test a refresh session */ refresh_session.noreveal_index = MELT_NOREVEAL_INDEX; /* create a denomination (value: 1; fraction: 100) */ @@ -730,12 +728,6 @@ test_melting (struct TALER_EXCHANGEDB_Session *session) } destroy_denom_key_pair (dkp); GNUNET_CRYPTO_rsa_signature_free (refresh_session.coin.denom_sig.rsa_signature); - for (unsigned int cnt = 0; - (NULL != ret_denom_pubs) && (cnt < MELT_NEW_COINS) - && (NULL != ret_denom_pubs[cnt].rsa_public_key); - cnt++) - GNUNET_CRYPTO_rsa_public_key_free (ret_denom_pubs[cnt].rsa_public_key); - GNUNET_free_non_null (ret_denom_pubs); GNUNET_free_non_null (new_denom_pubs); for (unsigned int cnt = 0; (NULL != new_dkp) && (cnt < MELT_NEW_COINS) && (NULL != new_dkp[cnt]); |