aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/test_exchangedb_denomkeys.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-09-15 10:59:13 +0200
committerChristian Grothoff <christian@grothoff.org>2019-09-15 10:59:13 +0200
commitcbfa5341949424c817beb15320ab7074088c6ac9 (patch)
tree790d8b85049a851573fd01e7775fc190972b84b8 /src/exchangedb/test_exchangedb_denomkeys.c
parent8843d60e683157f40e1908a4dc57b82f6f6bb6ee (diff)
fixing leaks in tests
Diffstat (limited to 'src/exchangedb/test_exchangedb_denomkeys.c')
-rw-r--r--src/exchangedb/test_exchangedb_denomkeys.c2
1 files changed, 2 insertions, 0 deletions
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;
}