aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-10-29 23:06:48 +0100
committerChristian Grothoff <christian@grothoff.org>2023-10-29 23:06:48 +0100
commitfc7800d320d5508a1bada7dc47d60cc46a96200f (patch)
treef67e2d9e3302e84316edfc78761c77661d415a31 /src/util
parent9bad35f229933fc9d0f6d80e3ed9f8de804c86bd (diff)
misc age-restriction related memory leak fixes, plus FIXME-Oec as some leaks remain
Diffstat (limited to 'src/util')
-rw-r--r--src/util/age_restriction.c2
1 files changed, 0 insertions, 2 deletions
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,