[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: tolerate NULL cleanup functions
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: tolerate NULL cleanup functions in commands in batches |
Date: |
Mon, 13 Feb 2023 12:21:59 +0100 |
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 3760d430 tolerate NULL cleanup functions in commands in batches
3760d430 is described below
commit 3760d43097b8b72dbb7c45ab061aad669c36aefa
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Feb 13 12:21:47 2023 +0100
tolerate NULL cleanup functions in commands in batches
---
src/testing/testing_api_cmd_batch.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/testing/testing_api_cmd_batch.c
b/src/testing/testing_api_cmd_batch.c
index e8f76ca3..a5263b03 100644
--- a/src/testing/testing_api_cmd_batch.c
+++ b/src/testing/testing_api_cmd_batch.c
@@ -97,8 +97,9 @@ batch_cleanup (void *cls,
for (unsigned int i = 0;
NULL != bs->batch[i].label;
i++)
- bs->batch[i].cleanup (bs->batch[i].cls,
- &bs->batch[i]);
+ if (NULL != bs->batch[i].cleanup)
+ bs->batch[i].cleanup (bs->batch[i].cls,
+ &bs->batch[i]);
GNUNET_free (bs->batch);
GNUNET_free (bs);
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: tolerate NULL cleanup functions in commands in batches,
gnunet <=