[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: fix
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: fix |
Date: |
Mon, 23 Jul 2018 19:29:47 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 5fb272d66 fix
5fb272d66 is described below
commit 5fb272d662eca0707b1a5c7747ae476f8157d332
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Mon Jul 23 19:29:44 2018 +0200
fix
---
src/gns/plugin_rest_gns.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/src/gns/plugin_rest_gns.c b/src/gns/plugin_rest_gns.c
index 2b729db54..e76a5d116 100644
--- a/src/gns/plugin_rest_gns.c
+++ b/src/gns/plugin_rest_gns.c
@@ -281,6 +281,15 @@ gnsrecord_to_json (const struct GNUNET_GNSRECORD_Data *rd)
return record_obj;
}
+
+static void
+do_cleanup (void *cls)
+{
+ struct LookupHandle *handle = cls;
+ cleanup_handle (handle);
+}
+
+
/**
* Function called with the result of a GNS lookup.
*
@@ -325,7 +334,7 @@ process_lookup_result (void *cls, uint32_t rd_count,
resp = GNUNET_REST_create_response (result);
handle->proc (handle->proc_cls, resp, MHD_HTTP_OK);
GNUNET_free (result);
- cleanup_handle (handle);
+ GNUNET_SCHEDULER_add_now (&do_cleanup, handle);
}
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnunet] branch master updated: fix, gnunet, 2018/07/03
- [GNUnet-SVN] [gnunet] branch master updated: fix, gnunet, 2018/07/03
- [GNUnet-SVN] [gnunet] branch master updated: fix, gnunet, 2018/07/03
- [GNUnet-SVN] [gnunet] branch master updated: fix, gnunet, 2018/07/04
- [GNUnet-SVN] [gnunet] branch master updated: fix, gnunet, 2018/07/20
- [GNUnet-SVN] [gnunet] branch master updated: fix, gnunet, 2018/07/21
- [GNUnet-SVN] [gnunet] branch master updated: fix, gnunet, 2018/07/23
- [GNUnet-SVN] [gnunet] branch master updated: fix,
gnunet <=
- [GNUnet-SVN] [gnunet] branch master updated: fix, gnunet, 2018/07/23