summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-06-18 14:55:07 +0200
committerChristian Grothoff <christian@grothoff.org>2019-06-18 14:55:07 +0200
commit02ece3fdc98b09492b3cd7fe2bc39f454c3095d8 (patch)
tree61f4945a88837a1c4f4a8ebd535359f36b687b39
parent36ceb8795a77090a0b9a78f24f0d01e2ea93220a (diff)
downloadmerchant-02ece3fdc98b09492b3cd7fe2bc39f454c3095d8.tar.gz
merchant-02ece3fdc98b09492b3cd7fe2bc39f454c3095d8.tar.bz2
merchant-02ece3fdc98b09492b3cd7fe2bc39f454c3095d8.zip
fix double-free
-rw-r--r--src/lib/merchant_api_pay.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/merchant_api_pay.c b/src/lib/merchant_api_pay.c
index a4b4baff..5407ffcc 100644
--- a/src/lib/merchant_api_pay.c
+++ b/src/lib/merchant_api_pay.c
@@ -957,7 +957,6 @@ TALER_MERCHANT_pay_cancel (struct TALER_MERCHANT_Pay *pay)
TALER_curl_easy_post_finished (&pay->post_ctx);
GNUNET_free (pay->coins);
GNUNET_free (pay->url);
- GNUNET_free (pay->post_ctx.json_enc);
GNUNET_free (pay);
}