[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: -fix leaks
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: -fix leaks |
Date: |
Fri, 22 Dec 2023 18:09:11 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new afc0acc7 -fix leaks
afc0acc7 is described below
commit afc0acc7e16ddbc5a14e6a6a1ce7e622efb060e3
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Sat Dec 23 01:09:04 2023 +0800
-fix leaks
---
src/lib/merchant_api_get_config.c | 3 +++
src/lib/merchant_api_wallet_post_order_refund.c | 1 +
src/testing/testing_api_cmd_patch_instance.c | 1 +
3 files changed, 5 insertions(+)
diff --git a/src/lib/merchant_api_get_config.c
b/src/lib/merchant_api_get_config.c
index 46c4080c..ed693b56 100644
--- a/src/lib/merchant_api_get_config.c
+++ b/src/lib/merchant_api_get_config.c
@@ -181,6 +181,7 @@ handle_config_finished (void *cls,
GNUNET_break_op (0);
cr.hr.http_status = 0;
cr.hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE;
+ GNUNET_free (eci);
break;
}
}
@@ -216,11 +217,13 @@ handle_config_finished (void *cls,
GNUNET_break_op (0);
cr.hr.http_status = 0;
cr.hr.ec = TALER_EC_GENERIC_INVALID_RESPONSE;
+ GNUNET_free (eci);
break;
}
}
vgh->cb (vgh->cb_cls,
&cr);
+ GNUNET_free (eci);
TALER_CONFIG_free_currencies (nspec,
cspecs);
}
diff --git a/src/lib/merchant_api_wallet_post_order_refund.c
b/src/lib/merchant_api_wallet_post_order_refund.c
index ed3fc1b8..405231ef 100644
--- a/src/lib/merchant_api_wallet_post_order_refund.c
+++ b/src/lib/merchant_api_wallet_post_order_refund.c
@@ -222,6 +222,7 @@ handle_refund_finished (void *cls,
wrr.details.ok.refunds_length = refund_len;
orh->cb (orh->cb_cls,
&wrr);
+ TALER_MERCHANT_wallet_post_order_refund_cancel (orh);
return;
} /* end 'rds' scope */
} /* case MHD_HTTP_OK */
diff --git a/src/testing/testing_api_cmd_patch_instance.c
b/src/testing/testing_api_cmd_patch_instance.c
index b3a2865c..cef38bec 100644
--- a/src/testing/testing_api_cmd_patch_instance.c
+++ b/src/testing/testing_api_cmd_patch_instance.c
@@ -225,6 +225,7 @@ patch_instance_cleanup (void *cls,
TALER_MERCHANT_instance_patch_cancel (pis->iph);
}
json_decref (pis->jurisdiction);
+ json_decref (pis->address);
GNUNET_free (pis);
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: -fix leaks,
gnunet <=