[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: fix bad frees()
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: fix bad frees() |
Date: |
Wed, 19 Aug 2020 14:55:15 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new cab256b fix bad frees()
new e66d933 Merge branch 'master' of git+ssh://git.taler.net/merchant
cab256b is described below
commit cab256bfb4381c45f92a02790b2d30fdb3819d0b
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Aug 19 14:55:08 2020 +0200
fix bad frees()
---
src/include/taler_merchant_service.h | 2 +-
src/lib/merchant_api_common.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/include/taler_merchant_service.h
b/src/include/taler_merchant_service.h
index 771cfbe..d53500d 100644
--- a/src/include/taler_merchant_service.h
+++ b/src/include/taler_merchant_service.h
@@ -179,7 +179,7 @@ struct TALER_MERCHANT_PayUriData
*
* @param pay_uri the URI to parse.
* @param[out] parse_data data extracted from the URI. Must be free'd.
- * @return GNUNET_SYSERR if @e pay_uri is malformed, GNUNET_OK otherwise.
+ * @return #GNUNET_SYSERR if @e pay_uri is malformed, #GNUNET_OK otherwise.
*/
int
TALER_MERCHANT_parse_pay_uri (const char *pay_uri,
diff --git a/src/lib/merchant_api_common.c b/src/lib/merchant_api_common.c
index 123ad5b..e60987f 100644
--- a/src/lib/merchant_api_common.c
+++ b/src/lib/merchant_api_common.c
@@ -289,7 +289,7 @@ TALER_MERCHANT_parse_pay_uri (const char *pay_uri,
'=');
if (NULL == ct_data)
{
- GNUNET_free (order_id);
+ GNUNET_free (path);
return GNUNET_SYSERR;
}
*ct_data = '\0';
@@ -303,7 +303,7 @@ TALER_MERCHANT_parse_pay_uri (const char *pay_uri,
claim_token,
sizeof (*claim_token))))
{
- GNUNET_free (order_id);
+ GNUNET_free (path);
GNUNET_free (claim_token);
return GNUNET_SYSERR;
}
--
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: fix bad frees(),
gnunet <=