[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] 04/05: fix memory leak on exceptional code path
From: |
gnunet |
Subject: |
[taler-merchant] 04/05: fix memory leak on exceptional code path |
Date: |
Mon, 20 Feb 2023 18:19:48 +0100 |
This is an automated email from the git hooks/post-receive script.
priscilla-huang pushed a commit to branch master
in repository merchant.
commit 1d4d3feb7ff648327f0817bc2e5b8a1d19683719
Author: priscilla <priscilla.huang@efrei.net>
AuthorDate: Mon Feb 20 12:15:30 2023 -0500
fix memory leak on exceptional code path
---
src/backend/taler-merchant-httpd_post-orders-ID-pay.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
index 41b526c9..e9f7895d 100644
--- a/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
+++ b/src/backend/taler-merchant-httpd_post-orders-ID-pay.c
@@ -2310,6 +2310,7 @@ parse_pay (struct PayContext *pc)
&pc->dc[j].cdd.coin_pub))
{
GNUNET_break_op (0);
+ GNUNET_JSON_parse_free (spec);
return (MHD_YES ==
TALER_MHD_reply_with_error (pc->connection,
MHD_HTTP_BAD_REQUEST,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.