exchange

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

commit 4e2d5fb354ad8605413931ee8d6137cbacfd3732
parent 2ecc245383f0b3fa1f247c9af3c53ecd6d831236
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri,  9 May 2025 18:10:16 +0200

-fix another minor leak

Diffstat:
Msrc/util/secmod_eddsa.c | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/util/secmod_eddsa.c b/src/util/secmod_eddsa.c @@ -1073,15 +1073,15 @@ TALER_SECMOD_eddsa_run (void *cls, /* get current time again, we may be timetraveling! */ opt->global_now = GNUNET_TIME_timestamp_get (); } - GNUNET_asprintf (&secname, - "%s-secmod-eddsa", - opt->section); if (GNUNET_OK != load_durations (cfg)) { opt->global_ret = EXIT_NOTCONFIGURED; return; } + GNUNET_asprintf (&secname, + "%s-secmod-eddsa", + opt->section); if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_filename (cfg, secname, @@ -1100,6 +1100,7 @@ TALER_SECMOD_eddsa_run (void *cls, opt->global_ret = TES_listen_start (cfg, secname, &cb); + GNUNET_free (secname); if (0 != opt->global_ret) return; /* Load keys */