From e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 5 Jul 2020 16:32:34 +0200 Subject: GNUNET_free_non_null -> GNUNET_free --- src/util/client.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/util/client.c') diff --git a/src/util/client.c b/src/util/client.c index a7b1a2a0f..86dabe664 100644 --- a/src/util/client.c +++ b/src/util/client.c @@ -422,7 +422,7 @@ connection_client_destroy_impl (struct GNUNET_MQ_Handle *mq, } cancel_aps (cstate); GNUNET_free (cstate->service_name); - GNUNET_free_non_null (cstate->hostname); + GNUNET_free (cstate->hostname); GNUNET_MST_destroy (cstate->mst); GNUNET_free (cstate); } @@ -563,7 +563,7 @@ try_unixpath (const char *service_name, if (NULL != sock) GNUNET_NETWORK_socket_close (sock); } - GNUNET_free_non_null (unixpath); + GNUNET_free (unixpath); #endif return NULL; } @@ -747,7 +747,7 @@ test_service_configuration (const char *service_name, _ ("not a valid filename")); return GNUNET_SYSERR; /* UNIXPATH specified but invalid! */ } - GNUNET_free_non_null (unixpath); + GNUNET_free (unixpath); #endif if ((GNUNET_YES == @@ -768,7 +768,7 @@ test_service_configuration (const char *service_name, &hostname)) && (0 != strlen (hostname))) ret = GNUNET_OK; - GNUNET_free_non_null (hostname); + GNUNET_free (hostname); return ret; } @@ -1043,7 +1043,7 @@ GNUNET_CLIENT_test (const struct GNUNET_CONFIGURATION_Handle *cfg, /* service running remotely */ ret = GNUNET_OK; } - GNUNET_free_non_null (hostname); + GNUNET_free (hostname); return ret; } -- cgit v1.2.3