gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [taler-exchange] branch master updated: -fix crash
Date: Fri, 23 Aug 2024 14:38:25 +0200

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 74f8fcf01 -fix crash
74f8fcf01 is described below

commit 74f8fcf01e3f489d87483c201f0971083a75836d
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Fri Aug 23 14:38:22 2024 +0200

    -fix crash
---
 src/auditor/taler-helper-auditor-wire-debit.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/auditor/taler-helper-auditor-wire-debit.c 
b/src/auditor/taler-helper-auditor-wire-debit.c
index 105867bf2..462be716e 100644
--- a/src/auditor/taler-helper-auditor-wire-debit.c
+++ b/src/auditor/taler-helper-auditor-wire-debit.c
@@ -1200,11 +1200,11 @@ history_debit_cb (
                   TALER_B2S (&dd->wtid));
       wa->wire_off_out = dd->serial_id;
       slen = strlen (dd->credit_account_uri) + 1;
+      roi = GNUNET_malloc (sizeof (struct ReserveOutInfo)
+                           + slen);
       GNUNET_CRYPTO_hash (&dd->wtid,
                           sizeof (dd->wtid),
                           &roi->subject_hash);
-      roi = GNUNET_malloc (sizeof (struct ReserveOutInfo)
-                           + slen);
       roi->details = *dd;
       roi->details.credit_account_uri
         = (const char *) &roi[1];

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