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 indexing issue found by


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: fix indexing issue found by jah and reported on gnunet-developers on 6-8/7/2017
Date: Fri, 23 Jun 2017 16:25:22 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new d7547ab18 fix indexing issue found by jah and reported on 
gnunet-developers on 6-8/7/2017
d7547ab18 is described below

commit d7547ab18052726a69ee088876389a18798e03a8
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Jun 23 16:25:19 2017 +0200

    fix indexing issue found by jah and reported on gnunet-developers on 
6-8/7/2017
---
 src/util/service.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/util/service.c b/src/util/service.c
index f63737e56..fcdf45a51 100644
--- a/src/util/service.c
+++ b/src/util/service.c
@@ -1283,15 +1283,14 @@ setup_service (struct GNUNET_SERVICE_Handle *sh)
       slc->sh = sh;
       slc->listen_socket = open_listen_socket (addrs[i],
                                               addrlens[i]);
+      GNUNET_free (addrs[i]);
       if (NULL == slc->listen_socket)
       {
         GNUNET_log_strerror (GNUNET_ERROR_TYPE_ERROR,
                              "bind");
-        GNUNET_free (addrs[i++]);
         GNUNET_free (slc);
         continue;
       }
-      GNUNET_free (addrs[i++]);
       GNUNET_CONTAINER_DLL_insert (sh->slc_head,
                                   sh->slc_tail,
                                   slc);

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



reply via email to

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