aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo-tool/plugin_rest_peerinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peerinfo-tool/plugin_rest_peerinfo.c')
-rw-r--r--src/peerinfo-tool/plugin_rest_peerinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/peerinfo-tool/plugin_rest_peerinfo.c b/src/peerinfo-tool/plugin_rest_peerinfo.c
index 514b14313..1ab6d6f75 100644
--- a/src/peerinfo-tool/plugin_rest_peerinfo.c
+++ b/src/peerinfo-tool/plugin_rest_peerinfo.c
@@ -359,7 +359,7 @@ peerinfo_list_finished (void *cls)
359 resp = GNUNET_REST_create_response (result_str); 359 resp = GNUNET_REST_create_response (result_str);
360 MHD_add_response_header (resp, "Content-Type", "application/json"); 360 MHD_add_response_header (resp, "Content-Type", "application/json");
361 handle->proc (handle->proc_cls, resp, MHD_HTTP_OK); 361 handle->proc (handle->proc_cls, resp, MHD_HTTP_OK);
362 GNUNET_free_non_null (result_str); 362 GNUNET_free (result_str);
363 GNUNET_SCHEDULER_add_now (&cleanup_handle, handle); 363 GNUNET_SCHEDULER_add_now (&cleanup_handle, handle);
364} 364}
365 365
@@ -452,7 +452,7 @@ dump_pc (struct PrintContext *pc)
452 json_decref (temp_array); 452 json_decref (temp_array);
453 json_decref (response_entry); 453 json_decref (response_entry);
454 454
455 GNUNET_free_non_null (pc->address_list); 455 GNUNET_free (pc->address_list);
456 GNUNET_CONTAINER_DLL_remove (pc_head, 456 GNUNET_CONTAINER_DLL_remove (pc_head,
457 pc_tail, 457 pc_tail,
458 pc); 458 pc);
@@ -813,7 +813,7 @@ libgnunet_plugin_rest_peerinfo_done (void *cls)
813 813
814 plugin->cfg = NULL; 814 plugin->cfg = NULL;
815 815
816 GNUNET_free_non_null (allow_methods); 816 GNUNET_free (allow_methods);
817 GNUNET_free (api); 817 GNUNET_free (api);
818 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 818 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
819 "Peerinfo REST plugin is finished\n"); 819 "Peerinfo REST plugin is finished\n");