aboutsummaryrefslogtreecommitdiff
path: root/src/hello
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/hello
parent1437556645417e6302862845e7ebcbd4c9908357 (diff)
downloadgnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.tar.gz
gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.zip
GNUNET_free_non_null -> GNUNET_free
Diffstat (limited to 'src/hello')
-rw-r--r--src/hello/hello-ng.c2
-rw-r--r--src/hello/hello.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/hello/hello-ng.c b/src/hello/hello-ng.c
index d06feadd5..dd3480a48 100644
--- a/src/hello/hello-ng.c
+++ b/src/hello/hello-ng.c
@@ -153,7 +153,7 @@ GNUNET_HELLO_extract_address (const void *raw,
153 GNUNET_STRINGS_base64_decode (raws, sc - raws, (void **) &sig)) 153 GNUNET_STRINGS_base64_decode (raws, sc - raws, (void **) &sig))
154 { 154 {
155 GNUNET_break_op (0); 155 GNUNET_break_op (0);
156 GNUNET_free_non_null (sig); 156 GNUNET_free (sig);
157 return NULL; 157 return NULL;
158 } 158 }
159 raw_addr = sc3 + 1; 159 raw_addr = sc3 + 1;
diff --git a/src/hello/hello.c b/src/hello/hello.c
index 11eec9898..fa859a772 100644
--- a/src/hello/hello.c
+++ b/src/hello/hello.c
@@ -300,7 +300,7 @@ GNUNET_HELLO_iterate_addresses (const struct GNUNET_HELLO_Message *msg,
300 if (0 == esize) 300 if (0 == esize)
301 { 301 {
302 GNUNET_break (0); 302 GNUNET_break (0);
303 GNUNET_free_non_null (ret); 303 GNUNET_free (ret);
304 return NULL; 304 return NULL;
305 } 305 }
306 /* need GNUNET_memcpy() due to possibility of misalignment */ 306 /* need GNUNET_memcpy() due to possibility of misalignment */