[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -fix memory leak
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -fix memory leak |
Date: |
Sat, 15 Apr 2023 14:38:35 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 07a089f4 -fix memory leak
07a089f4 is described below
commit 07a089f4f167854f8ed3036475efc8171ade5d69
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Apr 15 14:38:32 2023 +0200
-fix memory leak
---
src/exchangedb/exchange_do_batch_coin_known.sql | 2 +-
src/lib/auditor_api_deposit_confirmation.c | 14 ++++++++++----
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/src/exchangedb/exchange_do_batch_coin_known.sql
b/src/exchangedb/exchange_do_batch_coin_known.sql
index 38d79595..f6a14cfa 100644
--- a/src/exchangedb/exchange_do_batch_coin_known.sql
+++ b/src/exchangedb/exchange_do_batch_coin_known.sql
@@ -390,7 +390,7 @@ FROM exists;
RETURN;
END $$;
-/*** THIS SQL CODE WORKS ***/
+/*** Experiment using a loop ***/
/*
CREATE OR REPLACE FUNCTION exchange_do_batch2_known_coin(
IN in_coin_pub1 BYTEA,
diff --git a/src/lib/auditor_api_deposit_confirmation.c
b/src/lib/auditor_api_deposit_confirmation.c
index afbeda75..55a05d96 100644
--- a/src/lib/auditor_api_deposit_confirmation.c
+++ b/src/lib/auditor_api_deposit_confirmation.c
@@ -362,10 +362,16 @@ TALER_AUDITOR_deposit_confirmation (
dh->ctx.headers,
&handle_deposit_confirmation_finished,
dh);
- /* Disable 100 continue processing */
- GNUNET_CURL_extend_headers (dh->job,
- curl_slist_append (NULL,
- "Expect:"));
+ {
+ /* Disable 100 continue processing */
+ struct curl_slist *x_headers;
+
+ x_headers = curl_slist_append (NULL,
+ "Expect:");
+ GNUNET_CURL_extend_headers (dh->job,
+ x_headers);
+ curl_slist_free_all (x_headers);
+ }
return dh;
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: -fix memory leak,
gnunet <=