diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-21 19:30:24 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-21 19:30:24 +0100 |
commit | e5e6c9b6b47347eb446f46a0279ad5ef955a26d1 (patch) | |
tree | 0ae0398e703add01d52f0b8f34ecf1c9e30c847d | |
parent | f1d3364313e41eb82165e758717ed86b5b8261fb (diff) | |
download | exchange-e5e6c9b6b47347eb446f46a0279ad5ef955a26d1.tar.xz |
minor style improvement
-rw-r--r-- | src/auditor/taler-auditor-sign.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/auditor/taler-auditor-sign.c b/src/auditor/taler-auditor-sign.c index 183c63731..0863282d6 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]; |