gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: -fix NPE


From: gnunet
Subject: [taler-exchange] branch master updated: -fix NPE
Date: Sun, 22 May 2022 13:11:12 +0200

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

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 3233195d -fix NPE
3233195d is described below

commit 3233195d2d6c4733e6c98e754c54902f9c6d657c
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun May 22 13:11:09 2022 +0200

    -fix NPE
---
 src/testing/testing_api_loop.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/testing/testing_api_loop.c b/src/testing/testing_api_loop.c
index 7b1387b5..1ea1d5a2 100644
--- a/src/testing/testing_api_loop.c
+++ b/src/testing/testing_api_loop.c
@@ -274,8 +274,9 @@ do_shutdown (void *cls)
   for (unsigned int j = 0;
        NULL != (cmd = &is->commands[j])->label;
        j++)
-    cmd->cleanup (cmd->cls,
-                  cmd);
+    if (NULL != cmd->cleanup)
+      cmd->cleanup (cmd->cls,
+                    cmd);
   if (NULL != is->exchange)
   {
     TALER_LOG_DEBUG ("Disconnecting the exchange\n");

-- 
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]