diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-10-29 21:26:02 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-10-29 21:26:02 +0100 |
commit | c6c149714c9b39844d6dee2b5339907cca5bed3c (patch) | |
tree | 2b9f63ddf6b810a0565e4da4bffad15772aad49a /src/extensions | |
parent | 3784541b6c7e178546e91d9cb6579d8643989f59 (diff) |
-fix misc memory leaks
Diffstat (limited to 'src/extensions')
-rw-r--r-- | src/extensions/age_restriction/age_restriction.c | 11 |
1 files changed, 6 insertions, 5 deletions
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) ); } |