aboutsummaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_proposal.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-03-21 16:38:03 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-03-21 16:38:03 +0100
commitcc842f589f967d69e238914b92b777541b40f0fd (patch)
tree5b76fdfbec10e5105f791c15b2474a7cdbc337f7 /src/lib/merchant_api_proposal.c
parent1a6c7caaaaee2a2301187ceb2181171939bdd2bd (diff)
still on leaks.
Diffstat (limited to 'src/lib/merchant_api_proposal.c')
-rw-r--r--src/lib/merchant_api_proposal.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/merchant_api_proposal.c b/src/lib/merchant_api_proposal.c
index a670f8b8..72b44fa8 100644
--- a/src/lib/merchant_api_proposal.c
+++ b/src/lib/merchant_api_proposal.c
@@ -141,6 +141,7 @@ handle_proposal_finished (void *cls,
TALER_EC_INVALID_RESPONSE,
json,
order_id);
+ TALER_MERCHANT_proposal_cancel (po);
return;
case MHD_HTTP_OK:
{
@@ -276,7 +277,7 @@ handle_proposal_lookup_finished (void *cls,
&sig),
GNUNET_JSON_spec_end()
};
-
+ plo->job = NULL;
if (MHD_HTTP_OK != response_code)
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
@@ -290,6 +291,7 @@ handle_proposal_lookup_finished (void *cls,
NULL,
NULL,
NULL);
+ TALER_MERCHANT_proposal_lookup_cancel (plo);
return;
}
@@ -307,6 +309,8 @@ handle_proposal_lookup_finished (void *cls,
NULL,
NULL,
NULL);
+
+ TALER_MERCHANT_proposal_lookup_cancel (plo);
return;
}
@@ -322,6 +326,7 @@ handle_proposal_lookup_finished (void *cls,
NULL,
NULL,
NULL);
+ TALER_MERCHANT_proposal_lookup_cancel (plo);
return;
}