gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: fix memcorruption


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: fix memcorruption
Date: Thu, 27 Sep 2018 22:25:15 +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 d592adeb6 fix memcorruption
d592adeb6 is described below

commit d592adeb6ce4a8838bbbde538957eedde4695533
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Thu Sep 27 22:25:08 2018 +0200

    fix memcorruption
---
 src/rest-plugins/plugin_rest_reclaim.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/rest-plugins/plugin_rest_reclaim.c 
b/src/rest-plugins/plugin_rest_reclaim.c
index e85ae09fe..208c7470e 100644
--- a/src/rest-plugins/plugin_rest_reclaim.c
+++ b/src/rest-plugins/plugin_rest_reclaim.c
@@ -442,7 +442,6 @@ ticket_collect (void *cls,
                        "issuer",
                        value);
   GNUNET_free (tmp);
-  json_decref (value);
   tmp = GNUNET_STRINGS_data_to_string_alloc (&ticket->audience,
                                              sizeof (struct 
GNUNET_CRYPTO_EcdsaPublicKey));
   value = json_string (tmp);
@@ -450,7 +449,6 @@ ticket_collect (void *cls,
                        "audience",
                        value);
   GNUNET_free (tmp);
-  json_decref (value);
   tmp = GNUNET_STRINGS_data_to_string_alloc (&ticket->rnd,
                                              sizeof (uint64_t));
   value = json_string (tmp);
@@ -458,7 +456,6 @@ ticket_collect (void *cls,
                        "rnd",
                        value);
   GNUNET_free (tmp);
-  json_decref (value);
   GNUNET_RECLAIM_ticket_iteration_next (handle->ticket_it);
 }
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]