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 regression


From: gnunet
Subject: [taler-exchange] branch master updated: fix cleanup regression
Date: Thu, 07 Mar 2024 00:02:31 +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 b598b7f1 fix cleanup regression
b598b7f1 is described below

commit b598b7f18cb460bdac6dccf141c703b667dfb54c
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Mar 7 00:02:28 2024 +0100

    fix cleanup regression
---
 src/exchangedb/pg_lookup_transfer_by_deposit.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/exchangedb/pg_lookup_transfer_by_deposit.c 
b/src/exchangedb/pg_lookup_transfer_by_deposit.c
index 9a9b8af8..19255613 100644
--- a/src/exchangedb/pg_lookup_transfer_by_deposit.c
+++ b/src/exchangedb/pg_lookup_transfer_by_deposit.c
@@ -120,12 +120,10 @@ TEH_PG_lookup_transfer_by_deposit (
       return qs;
     }
     qs = GNUNET_DB_STATUS_SUCCESS_NO_RESULTS;
+    GNUNET_PQ_cleanup_result (rs);
   }
   if (0 > qs)
-  {
-    GNUNET_PQ_cleanup_result (rs);
     return qs;
-  }
   *pending = true;
   memset (wtid,
           0,
@@ -230,11 +228,11 @@ TEH_PG_lookup_transfer_by_deposit (
           GNUNET_memcmp (&wh,
                          h_wire))
       {
-        GNUNET_PQ_cleanup_result (rs);
+        GNUNET_PQ_cleanup_result (rs2);
         return GNUNET_DB_STATUS_SUCCESS_NO_RESULTS;
       }
+      GNUNET_PQ_cleanup_result (rs2);
     }
-    GNUNET_PQ_cleanup_result (rs);
     *aml_decision = TALER_AML_NORMAL;
     return qs;
   }

-- 
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]