gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnunet] branch master updated: prevent crash on exit


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: prevent crash on exit
Date: Tue, 21 Feb 2017 10:42:31 +0100

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 a5c4a4b1c prevent crash on exit
a5c4a4b1c is described below

commit a5c4a4b1c66b2bab197d0690881d6f3bdc56a833
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Feb 21 10:42:28 2017 +0100

    prevent crash on exit
---
 src/util/service_new.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/service_new.c b/src/util/service_new.c
index 1b3254cca..00d05dacc 100644
--- a/src/util/service_new.c
+++ b/src/util/service_new.c
@@ -1627,7 +1627,7 @@ GNUNET_SERVICE_starT (const char *service_name,
   sh->handlers = GNUNET_MQ_copy_handlers (handlers);
   if (GNUNET_OK != setup_service (sh))
   {
-    GNUNET_free (sh->handlers);
+    GNUNET_free_non_null (sh->handlers);
     GNUNET_free (sh);
     return NULL;
   }

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



reply via email to

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