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/namestore/plugin_rest_namestore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/namestore/plugin_rest_namestore.c') diff --git a/src/namestore/plugin_rest_namestore.c b/src/namestore/plugin_rest_namestore.c index 95b9b428f..4a05b2833 100644 --- a/src/namestore/plugin_rest_namestore.c +++ b/src/namestore/plugin_rest_namestore.c @@ -491,7 +491,7 @@ namestore_list_finished (void *cls) resp = GNUNET_REST_create_response (result_str); MHD_add_response_header (resp, "Content-Type", "application/json"); handle->proc (handle->proc_cls, resp, MHD_HTTP_OK); - GNUNET_free_non_null (result_str); + GNUNET_free (result_str); GNUNET_SCHEDULER_add_now (&cleanup_handle, handle); } @@ -1109,7 +1109,7 @@ libgnunet_plugin_rest_namestore_done (void *cls) plugin->cfg = NULL; - GNUNET_free_non_null (allow_methods); + GNUNET_free (allow_methods); GNUNET_free (api); GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Namestore REST plugin is finished\n"); return NULL; -- cgit v1.2.3