[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: fix leak
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: fix leak |
Date: |
Fri, 26 Jan 2024 22:32:44 +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 e3c4f553 fix leak
e3c4f553 is described below
commit e3c4f5536ea9a17e26ce73a2c6171cbb6caf3d19
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Jan 26 22:32:39 2024 +0100
fix leak
---
src/backend/taler-merchant-exchange.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/backend/taler-merchant-exchange.c
b/src/backend/taler-merchant-exchange.c
index bc475031..c74d4f74 100644
--- a/src/backend/taler-merchant-exchange.c
+++ b/src/backend/taler-merchant-exchange.c
@@ -519,6 +519,11 @@ shutdown_task (void *cls)
TALER_EXCHANGE_get_keys_cancel (e->conn);
e->conn = NULL;
}
+ if (NULL != e->keys)
+ {
+ TALER_EXCHANGE_keys_decref (e->keys);
+ e->keys = NULL;
+ }
if (NULL != e->retry_task)
{
GNUNET_SCHEDULER_cancel (e->retry_task);
@@ -617,7 +622,7 @@ check_wire_fee (struct Inquiry *w,
TALER_amount_cmp_currency (&fees.wire,
wire_fee)) ||
(0 > TALER_amount_cmp (&fees.wire,
- wire_fee)) )
+ wire_fee)) )
{
GNUNET_break_op (0);
GNUNET_free (wire_method);
@@ -815,7 +820,7 @@ wire_transfer_cb (void *cls,
GNUNET_SCHEDULER_shutdown ();
return;
}
- if (0 == qs)
+ if (GNUNET_DB_STATUS_SUCCESS_NO_RESULTS == qs)
{
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Transfer already known. Ignoring duplicate.\n");
--
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 leak,
gnunet <=