diff options
Diffstat (limited to 'src/namestore/plugin_rest_namestore.c')
-rw-r--r-- | src/namestore/plugin_rest_namestore.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
491 | resp = GNUNET_REST_create_response (result_str); | 491 | resp = GNUNET_REST_create_response (result_str); |
492 | MHD_add_response_header (resp, "Content-Type", "application/json"); | 492 | MHD_add_response_header (resp, "Content-Type", "application/json"); |
493 | handle->proc (handle->proc_cls, resp, MHD_HTTP_OK); | 493 | handle->proc (handle->proc_cls, resp, MHD_HTTP_OK); |
494 | GNUNET_free_non_null (result_str); | 494 | GNUNET_free (result_str); |
495 | GNUNET_SCHEDULER_add_now (&cleanup_handle, handle); | 495 | GNUNET_SCHEDULER_add_now (&cleanup_handle, handle); |
496 | } | 496 | } |
497 | 497 | ||
@@ -1109,7 +1109,7 @@ libgnunet_plugin_rest_namestore_done (void *cls) | |||
1109 | 1109 | ||
1110 | plugin->cfg = NULL; | 1110 | plugin->cfg = NULL; |
1111 | 1111 | ||
1112 | GNUNET_free_non_null (allow_methods); | 1112 | GNUNET_free (allow_methods); |
1113 | GNUNET_free (api); | 1113 | GNUNET_free (api); |
1114 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Namestore REST plugin is finished\n"); | 1114 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Namestore REST plugin is finished\n"); |
1115 | return NULL; | 1115 | return NULL; |