aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport_api2_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_api2_core.c
parent1437556645417e6302862845e7ebcbd4c9908357 (diff)
downloadgnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.tar.gz
gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.zip
GNUNET_free_non_null -> GNUNET_free
Diffstat (limited to 'src/transport/transport_api2_core.c')
-rw-r--r--src/transport/transport_api2_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/transport_api2_core.c b/src/transport/transport_api2_core.c
index cd8bacf3d..002af81fc 100644
--- a/src/transport/transport_api2_core.c
+++ b/src/transport/transport_api2_core.c
@@ -762,7 +762,7 @@ GNUNET_TRANSPORT_core_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,
762 reconnect (h); 762 reconnect (h);
763 if (NULL == h->mq) 763 if (NULL == h->mq)
764 { 764 {
765 GNUNET_free_non_null (h->handlers); 765 GNUNET_free (h->handlers);
766 GNUNET_free (h); 766 GNUNET_free (h);
767 return NULL; 767 return NULL;
768 } 768 }
@@ -792,7 +792,7 @@ GNUNET_TRANSPORT_core_disconnect (struct GNUNET_TRANSPORT_CoreHandle *handle)
792 } 792 }
793 GNUNET_CONTAINER_multipeermap_destroy (handle->neighbours); 793 GNUNET_CONTAINER_multipeermap_destroy (handle->neighbours);
794 handle->neighbours = NULL; 794 handle->neighbours = NULL;
795 GNUNET_free_non_null (handle->handlers); 795 GNUNET_free (handle->handlers);
796 handle->handlers = NULL; 796 handle->handlers = NULL;
797 GNUNET_free (handle); 797 GNUNET_free (handle);
798} 798}