gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] 01/02: terminate taler-exchange-offline on invalid inpu


From: gnunet
Subject: [taler-exchange] 01/02: terminate taler-exchange-offline on invalid inputs
Date: Tue, 17 Jan 2023 17:53:32 +0100

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

grothoff pushed a commit to branch master
in repository exchange.

commit c60e6184fd6552d5bb67f70a5a8a2502c9a74ee4
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Jan 17 17:52:39 2023 +0100

    terminate taler-exchange-offline on invalid inputs
---
 src/exchange-tools/taler-exchange-offline.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/exchange-tools/taler-exchange-offline.c 
b/src/exchange-tools/taler-exchange-offline.c
index a8a25bd3..eb64a6c9 100644
--- a/src/exchange-tools/taler-exchange-offline.c
+++ b/src/exchange-tools/taler-exchange-offline.c
@@ -3322,7 +3322,7 @@ tofu_check (const struct 
TALER_SecurityModulePublicKeySetP *secmset)
  * @param signkeys keys to output
  * @return #GNUNET_OK on success
  */
-static int
+static enum GNUNET_GenericReturnValue
 show_signkeys (const struct TALER_SecurityModulePublicKeyP *secm_pub,
                const json_t *signkeys)
 {
@@ -4353,6 +4353,9 @@ cmd_handler (char *const *args,
                 cmds[i].name,
                 cmds[i].help);
   }
+  json_decref (out);
+  out = NULL;
+  GNUNET_SCHEDULER_shutdown ();
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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