aboutsummaryrefslogtreecommitdiff
path: root/src/namestore
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2016-01-10 09:55:48 +0000
committerMartin Schanzenbach <mschanzenbach@posteo.de>2016-01-10 09:55:48 +0000
commit49a09a064af8cd6bbce568263e1b5152a0996fc9 (patch)
treeb9fcb737c311a43fd328e2ddf942d8642625c9b9 /src/namestore
parent3014465481e5c883ba1ab41cd4ff70a428e27b24 (diff)
downloadgnunet-49a09a064af8cd6bbce568263e1b5152a0996fc9.tar.gz
gnunet-49a09a064af8cd6bbce568263e1b5152a0996fc9.zip
- update issue handling, fix memleaks
Diffstat (limited to 'src/namestore')
-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;