[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: -fix leak
From: |
gnunet |
Subject: |
[gnunet] branch master updated: -fix leak |
Date: |
Mon, 24 Oct 2022 10:06:23 +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 aec54ad72 -fix leak
aec54ad72 is described below
commit aec54ad722ce1cedb763a90196aa25c28c26698a
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Mon Oct 24 17:06:16 2022 +0900
-fix leak
---
src/namestore/plugin_rest_namestore.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/namestore/plugin_rest_namestore.c
b/src/namestore/plugin_rest_namestore.c
index e02b1fde2..1f2f58097 100644
--- a/src/namestore/plugin_rest_namestore.c
+++ b/src/namestore/plugin_rest_namestore.c
@@ -336,7 +336,7 @@ do_error (void *cls)
const char* emsg;
int response_code;
- emsg = GNUNET_strdup (GNUNET_ErrorCode_get_hint (handle->ec));
+ emsg = GNUNET_ErrorCode_get_hint (handle->ec);
json_object_set_new (json_error, "error", json_string (emsg));
json_object_set_new (json_error, "error_code", json_integer (handle->ec));
response_code = GNUNET_ErrorCode_get_http_status (handle->ec);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: -fix leak,
gnunet <=