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/dht/gnunet-service-dht_hello.c | |
parent | 1437556645417e6302862845e7ebcbd4c9908357 (diff) | |
download | gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.tar.gz gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.zip |
GNUNET_free_non_null -> GNUNET_free
Diffstat (limited to 'src/dht/gnunet-service-dht_hello.c')
-rw-r--r-- | src/dht/gnunet-service-dht_hello.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dht/gnunet-service-dht_hello.c b/src/dht/gnunet-service-dht_hello.c index a0141d1fb..906391334 100644 --- a/src/dht/gnunet-service-dht_hello.c +++ b/src/dht/gnunet-service-dht_hello.c | |||
@@ -86,7 +86,7 @@ process_hello (void *cls, | |||
86 | gettext_noop ("# HELLOs obtained from peerinfo"), 1, | 86 | gettext_noop ("# HELLOs obtained from peerinfo"), 1, |
87 | GNUNET_NO); | 87 | GNUNET_NO); |
88 | hm = GNUNET_CONTAINER_multipeermap_get (peer_to_hello, peer); | 88 | hm = GNUNET_CONTAINER_multipeermap_get (peer_to_hello, peer); |
89 | GNUNET_free_non_null (hm); | 89 | GNUNET_free (hm); |
90 | hm = GNUNET_malloc (GNUNET_HELLO_size (hello)); | 90 | hm = GNUNET_malloc (GNUNET_HELLO_size (hello)); |
91 | GNUNET_memcpy (hm, hello, GNUNET_HELLO_size (hello)); | 91 | GNUNET_memcpy (hm, hello, GNUNET_HELLO_size (hello)); |
92 | GNUNET_assert (GNUNET_SYSERR != | 92 | GNUNET_assert (GNUNET_SYSERR != |