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/ats/test_ats_lib.c | |
parent | 1437556645417e6302862845e7ebcbd4c9908357 (diff) | |
download | gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.tar.gz gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.zip |
GNUNET_free_non_null -> GNUNET_free
Diffstat (limited to 'src/ats/test_ats_lib.c')
-rw-r--r-- | src/ats/test_ats_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ats/test_ats_lib.c b/src/ats/test_ats_lib.c index 2c4d3f5ad..d19da0106 100644 --- a/src/ats/test_ats_lib.c +++ b/src/ats/test_ats_lib.c | |||
@@ -165,7 +165,7 @@ free_asd (void *cls, | |||
165 | GNUNET_CONTAINER_multipeermap_remove (p2asd, | 165 | GNUNET_CONTAINER_multipeermap_remove (p2asd, |
166 | key, | 166 | key, |
167 | asd)); | 167 | asd)); |
168 | GNUNET_free_non_null (asd->address); | 168 | GNUNET_free (asd->address); |
169 | GNUNET_free (asd); | 169 | GNUNET_free (asd); |
170 | return GNUNET_OK; | 170 | return GNUNET_OK; |
171 | } | 171 | } |
@@ -951,7 +951,7 @@ address_suggest_cb (void *cls, | |||
951 | asd->bandwidth_out = bandwidth_out; | 951 | asd->bandwidth_out = bandwidth_out; |
952 | asd->bandwidth_in = bandwidth_in; | 952 | asd->bandwidth_in = bandwidth_in; |
953 | asd->session = session; | 953 | asd->session = session; |
954 | GNUNET_free_non_null (asd->address); | 954 | GNUNET_free (asd->address); |
955 | asd->address = NULL; | 955 | asd->address = NULL; |
956 | if (NULL != address) | 956 | if (NULL != address) |
957 | asd->address = GNUNET_HELLO_address_copy (address); | 957 | asd->address = GNUNET_HELLO_address_copy (address); |