gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -fix cleanup


From: gnunet
Subject: [taler-exchange] branch master updated: -fix cleanup
Date: Wed, 06 Mar 2024 23:56:34 +0100

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 3976fc22 -fix cleanup
3976fc22 is described below

commit 3976fc22e56d69dc2e7b0cda412259dbade631d3
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Mar 6 23:56:31 2024 +0100

    -fix cleanup
---
 src/exchangedb/pg_lookup_transfer_by_deposit.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/exchangedb/pg_lookup_transfer_by_deposit.c 
b/src/exchangedb/pg_lookup_transfer_by_deposit.c
index b9d792d0..9a9b8af8 100644
--- a/src/exchangedb/pg_lookup_transfer_by_deposit.c
+++ b/src/exchangedb/pg_lookup_transfer_by_deposit.c
@@ -109,7 +109,6 @@ TEH_PG_lookup_transfer_by_deposit (
     TALER_merchant_wire_signature_hash (payto_uri,
                                         &wire_salt,
                                         &wh);
-    GNUNET_PQ_cleanup_result (rs);
     if (0 ==
         GNUNET_memcmp (&wh,
                        h_wire))
@@ -117,12 +116,16 @@ TEH_PG_lookup_transfer_by_deposit (
       *pending = false;
       kyc->ok = true;
       *aml_decision = TALER_AML_NORMAL;
+      GNUNET_PQ_cleanup_result (rs);
       return qs;
     }
     qs = GNUNET_DB_STATUS_SUCCESS_NO_RESULTS;
   }
   if (0 > qs)
+  {
+    GNUNET_PQ_cleanup_result (rs);
     return qs;
+  }
   *pending = true;
   memset (wtid,
           0,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]