gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [taler-exchange] branch master updated: -cleanup signatures
Date: Mon, 01 May 2023 14:22:21 +0200

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

oec pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new e68d9f9b -cleanup signatures
e68d9f9b is described below

commit e68d9f9b75fc6869b9be12637db2fc22706dd217
Author: Özgür Kesim <oec-taler@kesim.org>
AuthorDate: Mon May 1 14:22:18 2023 +0200

    -cleanup signatures
---
 src/exchange/taler-exchange-httpd_age-withdraw_reveal.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_age-withdraw_reveal.c 
b/src/exchange/taler-exchange-httpd_age-withdraw_reveal.c
index aba15776..67e5facd 100644
--- a/src/exchange/taler-exchange-httpd_age-withdraw_reveal.c
+++ b/src/exchange/taler-exchange-httpd_age-withdraw_reveal.c
@@ -635,7 +635,7 @@ verify_commitment_and_max_age (
       }
       else
       {
-        /* FIXME:oec: Refactor this block out into its own function */
+        /* FIXME[oec] Refactor this block out into its own function */
 
         size_t j = (TALER_CNC_KAPPA - 1) * c + k; /* Index into 
disclosed_coin_secrets[] */
         const struct TALER_PlanchetMasterSecretP *secret;
@@ -966,8 +966,11 @@ sign_and_finalize_age_withdraw (
                                            num_coins,
                                            awrcs);
 cleanup:
-  // TODO[oec]: handle error cases
-  // TODO[oec]: cleanup!
+  GNUNET_break (MHD_NO != ret);
+
+  /* Free resources */
+  for (unsigned int i = 0; i<num_coins; i++)
+    TALER_blinded_denom_sig_free (&awrcs[i].coin_sig);
   return ret;
 }
 

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