gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: fix #8088


From: gnunet
Subject: [taler-exchange] branch master updated: fix #8088
Date: Mon, 15 Jan 2024 16:13:32 +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 6c140004 fix #8088
6c140004 is described below

commit 6c14000443996dac6389874ce2f7aebda3e37bf6
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Jan 15 16:13:29 2024 +0100

    fix #8088
---
 src/lib/exchange_api_batch_deposit.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/exchange_api_batch_deposit.c 
b/src/lib/exchange_api_batch_deposit.c
index d114bfc3..3dab6452 100644
--- a/src/lib/exchange_api_batch_deposit.c
+++ b/src/lib/exchange_api_batch_deposit.c
@@ -550,6 +550,7 @@ TALER_EXCHANGE_batch_deposit (
     {
       *ec = TALER_EC_EXCHANGE_GENERIC_DENOMINATION_KEY_UNKNOWN;
       GNUNET_break_op (0);
+      json_decref (deposits);
       return NULL;
     }
     if (0 >
@@ -561,6 +562,7 @@ TALER_EXCHANGE_batch_deposit (
       GNUNET_break_op (0);
       GNUNET_free (dh->cdds);
       GNUNET_free (dh);
+      json_decref (deposits);
       return NULL;
     }
     GNUNET_assert (0 <=
@@ -578,6 +580,7 @@ TALER_EXCHANGE_batch_deposit (
       GNUNET_break_op (0);
       GNUNET_free (dh->cdds);
       GNUNET_free (dh);
+      json_decref (deposits);
       return NULL;
     }
     if (GNUNET_is_zero (&cdd->h_age_commitment))
@@ -614,6 +617,7 @@ TALER_EXCHANGE_batch_deposit (
     GNUNET_free (dh->url);
     GNUNET_free (dh->cdds);
     GNUNET_free (dh);
+    json_decref (deposits);
     return NULL;
   }
 

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