diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-05 16:32:34 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-05 16:32:34 +0200 |
commit | e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2 (patch) | |
tree | 61df772a93f7f21af7c715ddd4b9a3f1a50e0509 /src/topology/gnunet-daemon-topology.c | |
parent | 1437556645417e6302862845e7ebcbd4c9908357 (diff) | |
download | gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.tar.gz gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.zip |
GNUNET_free_non_null -> GNUNET_free
Diffstat (limited to 'src/topology/gnunet-daemon-topology.c')
-rw-r--r-- | src/topology/gnunet-daemon-topology.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c index c6f600df1..b380c0bd4 100644 --- a/src/topology/gnunet-daemon-topology.c +++ b/src/topology/gnunet-daemon-topology.c | |||
@@ -275,7 +275,7 @@ free_peer (void *cls, const struct GNUNET_PeerIdentity *pid, void *value) | |||
275 | } | 275 | } |
276 | if (NULL != pos->hello) | 276 | if (NULL != pos->hello) |
277 | { | 277 | { |
278 | GNUNET_free_non_null (pos->hello); | 278 | GNUNET_free (pos->hello); |
279 | pos->hello = NULL; | 279 | pos->hello = NULL; |
280 | } | 280 | } |
281 | if (NULL != pos->filter) | 281 | if (NULL != pos->filter) |
@@ -812,7 +812,7 @@ process_peer (void *cls, | |||
812 | pos = GNUNET_CONTAINER_multipeermap_get (peers, peer); | 812 | pos = GNUNET_CONTAINER_multipeermap_get (peers, peer); |
813 | if (NULL != pos) | 813 | if (NULL != pos) |
814 | { | 814 | { |
815 | GNUNET_free_non_null (pos->hello); | 815 | GNUNET_free (pos->hello); |
816 | pos->hello = NULL; | 816 | pos->hello = NULL; |
817 | if (NULL != pos->filter) | 817 | if (NULL != pos->filter) |
818 | { | 818 | { |