aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/plugin_rest_namestore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/plugin_rest_namestore.c')
-rw-r--r--src/namestore/plugin_rest_namestore.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/namestore/plugin_rest_namestore.c b/src/namestore/plugin_rest_namestore.c
index 42a9f6356..dfad24d3c 100644
--- a/src/namestore/plugin_rest_namestore.c
+++ b/src/namestore/plugin_rest_namestore.c
@@ -561,7 +561,7 @@ del_cont (void *cls,
561 const struct GNUNET_GNSRECORD_Data *rd) 561 const struct GNUNET_GNSRECORD_Data *rd)
562{ 562{
563 struct RequestHandle *handle = cls; 563 struct RequestHandle *handle = cls;
564 564 handle->add_qe = NULL;
565 if (0 == rd_count) 565 if (0 == rd_count)
566 { 566 {
567 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 567 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
@@ -828,6 +828,7 @@ namestore_zkey_response (void *cls,
828 } 828 }
829 resp = GNUNET_REST_create_json_response (result); 829 resp = GNUNET_REST_create_json_response (result);
830 handle->proc (handle->proc_cls, resp, MHD_HTTP_OK); 830 handle->proc (handle->proc_cls, resp, MHD_HTTP_OK);
831 GNUNET_REST_jsonapi_object_delete (json_obj);
831 GNUNET_free (result); 832 GNUNET_free (result);
832 GNUNET_SCHEDULER_add_now (&cleanup_handle_delayed, handle); 833 GNUNET_SCHEDULER_add_now (&cleanup_handle_delayed, handle);
833 return; 834 return;