commit b86d6f7a2ad3cfc76be65d9acb116848aade8b83
parent 029c46a6b09af728df641289bb8ea75bb77e9a84
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 10 Feb 2025 20:14:40 +0100
fix #9528
Diffstat:
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/backenddb/merchantdb_helper.c b/src/backenddb/merchantdb_helper.c
@@ -79,6 +79,8 @@ TALER_MERCHANTDB_token_family_details_free (
GNUNET_free (tf->name);
GNUNET_free (tf->description);
json_decref (tf->description_i18n);
+ json_decref (tf->extra_data);
+ GNUNET_free (tf->cipher_spec);
}
diff --git a/src/backenddb/pg_lookup_token_family.c b/src/backenddb/pg_lookup_token_family.c
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- Copyright (C) 2023, 2024 Taler Systems SA
+ Copyright (C) 2023, 2024, 2025 Taler Systems SA
TALER is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
@@ -60,6 +60,8 @@ TMH_PG_lookup_token_family (
&details->slug),
GNUNET_PQ_result_spec_string ("name",
&details->name),
+ GNUNET_PQ_result_spec_string ("cipher_choice",
+ &details->cipher_spec),
GNUNET_PQ_result_spec_string ("description",
&details->description),
TALER_PQ_result_spec_json ("description_i18n",
@@ -94,6 +96,7 @@ TMH_PG_lookup_token_family (
"SELECT"
" slug"
",name"
+ ",cipher_choice"
",description"
",description_i18n"
",extra_data"