exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 74f8fcf01e3f489d87483c201f0971083a75836d
parent 9c21e22da9e2f411cfc3d2c900f4aabe2e3a88f1
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 23 Aug 2024 14:38:22 +0200

-fix crash

Diffstat:
Msrc/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 @@ -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];