summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-21 19:30:24 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-21 19:30:24 +0100
commite5e6c9b6b47347eb446f46a0279ad5ef955a26d1 (patch)
tree0ae0398e703add01d52f0b8f34ecf1c9e30c847d
parentf1d3364313e41eb82165e758717ed86b5b8261fb (diff)
downloadexchange-e5e6c9b6b47347eb446f46a0279ad5ef955a26d1.tar.gz
exchange-e5e6c9b6b47347eb446f46a0279ad5ef955a26d1.tar.bz2
exchange-e5e6c9b6b47347eb446f46a0279ad5ef955a26d1.zip
minor style improvement
-rw-r--r--src/auditor/taler-auditor-sign.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/auditor/taler-auditor-sign.c b/src/auditor/taler-auditor-sign.c
index 183c6373..0863282d 100644
--- a/src/auditor/taler-auditor-sign.c
+++ b/src/auditor/taler-auditor-sign.c
@@ -314,8 +314,6 @@ main (int argc,
kv.master = master_public_key;
dki = GNUNET_new_array (dki_len,
struct TALER_DenominationKeyValidityPS);
- sigs = GNUNET_new_array (dki_len,
- struct TALER_AuditorSignatureP);
if (in_size !=
GNUNET_DISK_file_read (fh,
dki,
@@ -327,12 +325,13 @@ main (int argc,
strerror (errno));
TALER_AUDITORDB_plugin_unload (adb);
GNUNET_DISK_file_close (fh);
- GNUNET_free (sigs);
GNUNET_free (dki);
GNUNET_free (eddsa_priv);
return 1;
}
GNUNET_DISK_file_close (fh);
+ sigs = GNUNET_new_array (dki_len,
+ struct TALER_AuditorSignatureP);
for (unsigned int i = 0; i<dki_len; i++)
{
struct TALER_DenominationKeyValidityPS *dk = &dki[i];