fixing leaks in tests
This commit is contained in:
parent
8843d60e68
commit
cbfa534194
@ -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));
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user