summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/taler_merchant_service.h2
-rw-r--r--src/lib/merchant_api_common.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/include/taler_merchant_service.h b/src/include/taler_merchant_service.h
index 771cfbec..d53500de 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 123ad5bb..e60987f0 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;
}