aboutsummaryrefslogtreecommitdiff
path: root/src/mintdb/perf_taler_mintdb_init.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-08-06 18:19:59 +0200
committerChristian Grothoff <christian@grothoff.org>2015-08-06 18:19:59 +0200
commitf655ce9ad18736d88d34ad681e1bb730245a7fb2 (patch)
tree05fe538163e08d1808e8ddbcc8946bf0a36dbbbd /src/mintdb/perf_taler_mintdb_init.c
parent94ffa282b7bacbf452a3fb6480e07b68f32a3bca (diff)
adding checks to avoid re-initializing memory and removing [0]-type hack, however, this now causes a segv (NPE)
Diffstat (limited to 'src/mintdb/perf_taler_mintdb_init.c')
-rw-r--r--src/mintdb/perf_taler_mintdb_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mintdb/perf_taler_mintdb_init.c b/src/mintdb/perf_taler_mintdb_init.c
index 1968307b2..d3741d5a7 100644
--- a/src/mintdb/perf_taler_mintdb_init.c
+++ b/src/mintdb/perf_taler_mintdb_init.c
@@ -127,7 +127,7 @@ PERF_TALER_MINTDB_denomination_copy (const struct TALER_MINTDB_DenominationKeyIs
int
PERF_TALER_MINTDB_denomination_free (struct TALER_MINTDB_DenominationKeyIssueInformation *dki)
{
- if (NULL ==dki)
+ if (NULL == dki)
return GNUNET_OK;
GNUNET_CRYPTO_rsa_private_key_free (dki->denom_priv.rsa_private_key);
GNUNET_CRYPTO_rsa_public_key_free (dki->denom_pub.rsa_public_key);