aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-06-02 08:59:18 +0200
committerChristian Grothoff <christian@grothoff.org>2016-06-02 08:59:18 +0200
commitb405b0287597b29f1b06b8c62b9bfc51f37de52c (patch)
tree6eeba59e958fbbc58901cb00c6455e2d3dd7f133 /src
parent026673bd37859969820d611fca062b878ec6321b (diff)
remove unnecessary check
Diffstat (limited to 'src')
-rw-r--r--src/exchangedb/test_exchangedb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/exchangedb/test_exchangedb.c b/src/exchangedb/test_exchangedb.c
index b42fb30f3..b03fff313 100644
--- a/src/exchangedb/test_exchangedb.c
+++ b/src/exchangedb/test_exchangedb.c
@@ -790,8 +790,7 @@ test_melting (struct TALER_EXCHANGEDB_Session *session)
GNUNET_free (commit_coins[cnt]);
commit_coins[cnt] = NULL;
}
- if (NULL != dkp)
- destroy_denom_key_pair (dkp);
+ destroy_denom_key_pair (dkp);
GNUNET_CRYPTO_rsa_signature_free (meltp->coin.denom_sig.rsa_signature);
for (cnt = 0;
(NULL != ret_denom_pubs) && (cnt < MELT_NEW_COINS)