aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport_api_core.c
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/transport/transport_api_core.c
parent1437556645417e6302862845e7ebcbd4c9908357 (diff)
downloadgnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.tar.gz
gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.zip
GNUNET_free_non_null -> GNUNET_free
Diffstat (limited to 'src/transport/transport_api_core.c')
-rw-r--r--src/transport/transport_api_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/transport_api_core.c b/src/transport/transport_api_core.c
index 5d841fa10..55647508d 100644
--- a/src/transport/transport_api_core.c
+++ b/src/transport/transport_api_core.c
@@ -891,7 +891,7 @@ GNUNET_TRANSPORT_core_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,
891 reconnect (h); 891 reconnect (h);
892 if (NULL == h->mq) 892 if (NULL == h->mq)
893 { 893 {
894 GNUNET_free_non_null (h->handlers); 894 GNUNET_free (h->handlers);
895 GNUNET_free (h); 895 GNUNET_free (h);
896 return NULL; 896 return NULL;
897 } 897 }
@@ -922,7 +922,7 @@ GNUNET_TRANSPORT_core_disconnect (struct GNUNET_TRANSPORT_CoreHandle *handle)
922 } 922 }
923 GNUNET_CONTAINER_multipeermap_destroy (handle->neighbours); 923 GNUNET_CONTAINER_multipeermap_destroy (handle->neighbours);
924 handle->neighbours = NULL; 924 handle->neighbours = NULL;
925 GNUNET_free_non_null (handle->handlers); 925 GNUNET_free (handle->handlers);
926 handle->handlers = NULL; 926 handle->handlers = NULL;
927 GNUNET_free (handle); 927 GNUNET_free (handle);
928} 928}