summaryrefslogtreecommitdiff
path: root/src/set
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-05 16:32:34 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-05 16:32:34 +0200
commite31c1d4a9f78c4e31fda1f98fe349b33abdd01a2 (patch)
tree61df772a93f7f21af7c715ddd4b9a3f1a50e0509 /src/set
parent1437556645417e6302862845e7ebcbd4c9908357 (diff)
GNUNET_free_non_null -> GNUNET_free
Diffstat (limited to 'src/set')
-rw-r--r--src/set/gnunet-service-set.c4
-rw-r--r--src/set/gnunet-service-set_union_strata_estimator.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/set/gnunet-service-set.c b/src/set/gnunet-service-set.c
index 8b46f68de..2b859d81a 100644
--- a/src/set/gnunet-service-set.c
+++ b/src/set/gnunet-service-set.c
@@ -492,7 +492,7 @@ destroy_elements_iterator (void *cls,
{
struct ElementEntry *ee = value;
- GNUNET_free_non_null (ee->mutations);
+ GNUNET_free (ee->mutations);
GNUNET_free (ee);
return GNUNET_YES;
}
@@ -570,7 +570,7 @@ client_disconnect_cb (void *cls,
content->elements = NULL;
GNUNET_free (content);
}
- GNUNET_free_non_null (set->excluded_generations);
+ GNUNET_free (set->excluded_generations);
set->excluded_generations = NULL;
/* remove set from pending copy requests */
diff --git a/src/set/gnunet-service-set_union_strata_estimator.c b/src/set/gnunet-service-set_union_strata_estimator.c
index a59dbbd57..1101a56a6 100644
--- a/src/set/gnunet-service-set_union_strata_estimator.c
+++ b/src/set/gnunet-service-set_union_strata_estimator.c
@@ -120,7 +120,7 @@ strata_estimator_read (const void *buf,
if (buf_len != se->strata_count * se->ibf_size * IBF_BUCKET_SIZE)
{
GNUNET_break (0); /* very odd error */
- GNUNET_free_non_null (dbuf);
+ GNUNET_free (dbuf);
return GNUNET_SYSERR;
}
@@ -129,7 +129,7 @@ strata_estimator_read (const void *buf,
ibf_read_slice (buf, 0, se->ibf_size, se->strata[i]);
buf += se->ibf_size * IBF_BUCKET_SIZE;
}
- GNUNET_free_non_null (dbuf);
+ GNUNET_free (dbuf);
return GNUNET_OK;
}