From c6c149714c9b39844d6dee2b5339907cca5bed3c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 29 Oct 2023 21:26:02 +0100 Subject: -fix misc memory leaks --- src/extensions/age_restriction/age_restriction.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/extensions') diff --git a/src/extensions/age_restriction/age_restriction.c b/src/extensions/age_restriction/age_restriction.c index 644a4ac6a..08b598d50 100644 --- a/src/extensions/age_restriction/age_restriction.c +++ b/src/extensions/age_restriction/age_restriction.c @@ -127,12 +127,13 @@ age_restriction_manifest ( GNUNET_JSON_pack_string ("age_groups", TALER_age_mask_to_string (&AR_config.mask)) ); - - return GNUNET_JSON_PACK ( - GNUNET_JSON_pack_bool ("critical", ext->critical), - GNUNET_JSON_pack_string ("version", ext->version), - GNUNET_JSON_pack_object_steal ("config", conf) + GNUNET_JSON_pack_bool ("critical", + ext->critical), + GNUNET_JSON_pack_string ("version", + ext->version), + GNUNET_JSON_pack_object_steal ("config", + conf) ); } -- cgit v1.2.3