[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: check before free
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: check before free |
Date: |
Wed, 15 Jul 2020 15:58:54 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 577710b check before free
577710b is described below
commit 577710bff80a4d9000886d6f3e42c747ddce868f
Author: MS <ms@taler.net>
AuthorDate: Wed Jul 15 15:58:45 2020 +0200
check before free
---
src/backend/taler-merchant-httpd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd.c
b/src/backend/taler-merchant-httpd.c
index cbc7774..031c6ca 100644
--- a/src/backend/taler-merchant-httpd.c
+++ b/src/backend/taler-merchant-httpd.c
@@ -532,7 +532,8 @@ handle_mhd_completion_callback (void *cls,
if (NULL != hc->cc)
hc->cc (hc->ctx);
TALER_MHD_parse_post_cleanup_callback (hc->json_parse_context);
- GNUNET_free (hc->infix);
+ if (NULL != hc->infix)
+ GNUNET_free (hc->infix);
if (NULL != hc->request_body)
json_decref (hc->request_body);
if (NULL != hc->instance)
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: check before free,
gnunet <=