merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit c0d7c64a929e7375f803e4e60ab01955b770a19f
parent cfafdb44e98b626f41377a3651ee8aa4e6868cda
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 30 Jun 2026 00:33:13 +0200

fix leak

Diffstat:
Msrc/backend/taler-merchant-httpd_get-private-tokenfamilies-TOKEN_FAMILY_SLUG.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/backend/taler-merchant-httpd_get-private-tokenfamilies-TOKEN_FAMILY_SLUG.c b/src/backend/taler-merchant-httpd_get-private-tokenfamilies-TOKEN_FAMILY_SLUG.c @@ -77,6 +77,7 @@ TMH_private_get_tokenfamilies_SLUG (const struct TMH_RequestHandler *rh, else { GNUNET_break (0); + TALER_MERCHANTDB_token_family_details_free (&details); return TALER_MHD_reply_with_error (connection, MHD_HTTP_INTERNAL_SERVER_ERROR, TALER_EC_GENERIC_INTERNAL_INVARIANT_FAILURE, @@ -115,6 +116,7 @@ TMH_private_get_tokenfamilies_SLUG (const struct TMH_RequestHandler *rh, details.used) ); + GNUNET_free (details.slug); GNUNET_free (details.name); GNUNET_free (details.description); GNUNET_free (details.cipher_spec);