gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-exchange] branch master updated: fixing leaks in tes


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: fixing leaks in tests
Date: Sun, 15 Sep 2019 10:59:16 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new cbfa5341 fixing leaks in tests
cbfa5341 is described below

commit cbfa5341949424c817beb15320ab7074088c6ac9
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Sep 15 10:59:13 2019 +0200

    fixing leaks in tests
---
 src/exchangedb/test_exchangedb_auditors.c  | 1 -
 src/exchangedb/test_exchangedb_denomkeys.c | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/exchangedb/test_exchangedb_auditors.c 
b/src/exchangedb/test_exchangedb_auditors.c
index 4c50d09a..ecbb6854 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 8b0c9c04..1bb283bb 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;
 }

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]