aboutsummaryrefslogtreecommitdiff
path: root/src/hello
diff options
context:
space:
mode:
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 */