merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 1d4d3feb7ff648327f0817bc2e5b8a1d19683719
parent 1eda15ed9451bc8311186a9fe7c196d300ba45ae
Author: priscilla <priscilla.huang@efrei.net>
Date:   Mon, 20 Feb 2023 12:15:30 -0500

fix memory leak on exceptional code path

Diffstat:
Msrc/backend/taler-merchant-httpd_post-orders-ID-pay.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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,