diff options
Diffstat (limited to 'src/exchangedb')
-rw-r--r-- | src/exchangedb/test_exchangedb_auditors.c | 1 | ||||
-rw-r--r-- | src/exchangedb/test_exchangedb_denomkeys.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/exchangedb/test_exchangedb_auditors.c b/src/exchangedb/test_exchangedb_auditors.c index 4c50d09ab..ecbb68547 100644 --- a/src/exchangedb/test_exchangedb_auditors.c +++ b/src/exchangedb/test_exchangedb_auditors.c @@ -119,7 +119,6 @@ main (int argc, GNUNET_log_setup ("test-exchangedb-auditors", "WARNING", NULL); - EXITIF (NULL == (tmpdir = GNUNET_DISK_mkdtemp ("test_exchangedb_auditors"))); GNUNET_CRYPTO_random_block (GNUNET_CRYPTO_QUALITY_WEAK, &want_apub, sizeof (want_apub)); diff --git a/src/exchangedb/test_exchangedb_denomkeys.c b/src/exchangedb/test_exchangedb_denomkeys.c index 8b0c9c04e..1bb283bb0 100644 --- a/src/exchangedb/test_exchangedb_denomkeys.c +++ b/src/exchangedb/test_exchangedb_denomkeys.c @@ -208,5 +208,7 @@ main (int argc, GNUNET_CRYPTO_rsa_public_key_free (dki.denom_pub.rsa_public_key); if (NULL != dki_read.denom_priv.rsa_private_key) GNUNET_CRYPTO_rsa_private_key_free (dki_read.denom_priv.rsa_private_key); + if (NULL != dki_read.denom_pub.rsa_public_key) + GNUNET_CRYPTO_rsa_public_key_free (dki_read.denom_pub.rsa_public_key); return ret; } |