From fc7800d320d5508a1bada7dc47d60cc46a96200f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 29 Oct 2023 23:06:48 +0100 Subject: misc age-restriction related memory leak fixes, plus FIXME-Oec as some leaks remain --- src/util/age_restriction.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/util') diff --git a/src/util/age_restriction.c b/src/util/age_restriction.c index 883ae5e9a..f79c767a9 100644 --- a/src/util/age_restriction.c +++ b/src/util/age_restriction.c @@ -671,11 +671,9 @@ TALER_age_restriction_from_secret ( ncp->commitment.num = num_pub; ncp->proof.num = num_priv; ncp->proof.keys = NULL; - ncp->commitment.keys = GNUNET_new_array ( num_pub, struct TALER_AgeCommitmentPublicKeyP); - if (0 < num_priv) ncp->proof.keys = GNUNET_new_array ( num_priv, -- cgit v1.2.3