summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_pay.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-06-04 22:33:54 +0200
committerChristian Grothoff <christian@grothoff.org>2017-06-04 22:33:54 +0200
commitf1395b9cd50df28853cd138557b41ddd79b4ecd3 (patch)
tree9b938a34659d3acece52e430fc8c666dbedf5e5f /src/lib/merchant_api_pay.c
parentd274ac3e73dd30de260e1c36c4bee76b935f28d3 (diff)
downloadmerchant-f1395b9cd50df28853cd138557b41ddd79b4ecd3.tar.gz
merchant-f1395b9cd50df28853cd138557b41ddd79b4ecd3.tar.bz2
merchant-f1395b9cd50df28853cd138557b41ddd79b4ecd3.zip
fix misc leaks
Diffstat (limited to 'src/lib/merchant_api_pay.c')
-rw-r--r--src/lib/merchant_api_pay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/merchant_api_pay.c b/src/lib/merchant_api_pay.c
index 9422e07e..aa875bc4 100644
--- a/src/lib/merchant_api_pay.c
+++ b/src/lib/merchant_api_pay.c
@@ -243,6 +243,7 @@ handle_pay_finished (void *cls,
response_code,
TALER_JSON_get_error_code (json),
json);
+ TALER_MERCHANT_pay_cancel (ph);
}