commit 10afdd0d1e425c344416ef0dac8119693afa77c8
parent f84481fdfef65fd31dd6ab7323ae6cbdee413517
Author: Sebastian <sebasjm@gmail.com>
Date: Mon, 19 Aug 2024 14:23:04 -0300
fix: NULL not allowed for description_i18n
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/kyclogic/kyclogic_api.c b/src/kyclogic/kyclogic_api.c
@@ -2876,8 +2876,9 @@ TALER_KYCLOGIC_measure_to_requirement (
xids),
GNUNET_JSON_pack_string ("description",
kc->description),
- GNUNET_JSON_pack_object_incref ("description_i18n",
- (json_t *) kc->description_i18n));
+ GNUNET_JSON_pack_allow_null (
+ GNUNET_JSON_pack_object_incref ("description_i18n",
+ (json_t *) kc->description_i18n)));
GNUNET_free (xids);
return kri;
case TALER_KYCLOGIC_CT_LINK: