summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_merchant_get_order.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/merchant_api_merchant_get_order.c')
-rw-r--r--src/lib/merchant_api_merchant_get_order.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/merchant_api_merchant_get_order.c b/src/lib/merchant_api_merchant_get_order.c
index ac7da14f..7cce082a 100644
--- a/src/lib/merchant_api_merchant_get_order.c
+++ b/src/lib/merchant_api_merchant_get_order.c
@@ -443,8 +443,8 @@ handle_merchant_order_get_finished (void *cls,
omgh->cb (omgh->cb_cls,
&hr,
NULL);
- TALER_MERCHANT_merchant_order_get_cancel (omgh);
}
+ TALER_MERCHANT_merchant_order_get_cancel (omgh);
}
@@ -462,8 +462,6 @@ TALER_MERCHANT_merchant_order_get (struct GNUNET_CURL_Context *ctx,
unsigned long long tms;
long tlong;
- GNUNET_assert (NULL != backend_url);
- GNUNET_assert (NULL != order_id);
tms = (unsigned long long) (timeout.rel_value_us
/ GNUNET_TIME_UNIT_MILLISECONDS.rel_value_us);
/* set curl timeout to *our* long poll timeout plus one minute
@@ -494,6 +492,7 @@ TALER_MERCHANT_merchant_order_get (struct GNUNET_CURL_Context *ctx,
(0 != tms) ? "timeout_ms" : NULL,
timeout_ms,
NULL);
+ GNUNET_free (path);
}
if (NULL == omgh->url)
{