gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] branch master updated (1c725c0 -> 15e27ab)


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated (1c725c0 -> 15e27ab)
Date: Fri, 06 Oct 2017 22:10:35 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a change to branch master
in repository exchange.

    from 1c725c0  use proper enum value for error code on signature parsing in 
wire plugin
     new 1261971  yet another TALER_amount_get_zero with missing rval check
     new 15e27ab  doh, do not try to clean up after allocation failure

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/auditor/taler-auditor.c             | 5 +++--
 src/exchange-lib/exchange_api_reserve.c | 2 --
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/auditor/taler-auditor.c b/src/auditor/taler-auditor.c
index f9f03b0..e19ff73 100644
--- a/src/auditor/taler-auditor.c
+++ b/src/auditor/taler-auditor.c
@@ -2186,8 +2186,9 @@ check_wire_out_cb (void *cls,
   wcc.method = json_string_value (method);
   wcc.qs = GNUNET_DB_STATUS_SUCCESS_ONE_RESULT;
   wcc.date = date;
-  TALER_amount_get_zero (amount->currency,
-                         &wcc.total_deposits);
+  GNUNET_assert (GNUNET_OK ==
+                 TALER_amount_get_zero (amount->currency,
+                                        &wcc.total_deposits));
   if (GNUNET_OK !=
       TALER_JSON_hash (wire,
                        &wcc.h_wire))
diff --git a/src/exchange-lib/exchange_api_reserve.c 
b/src/exchange-lib/exchange_api_reserve.c
index 6af500e..22e0e3d 100644
--- a/src/exchange-lib/exchange_api_reserve.c
+++ b/src/exchange-lib/exchange_api_reserve.c
@@ -837,8 +837,6 @@ reserve_withdraw_payment_required (struct 
TALER_EXCHANGE_ReserveWithdrawHandle *
     if (NULL == rhistory)
     {
       GNUNET_break (0);
-      free_rhistory (rhistory,
-                     len);
       return GNUNET_SYSERR;
     }
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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