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 potential free-of-null


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: fix potential free-of-null
Date: Sun, 08 Jan 2017 20:12:27 +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 8cee29503 fix potential free-of-null
8cee29503 is described below

commit 8cee29503550fb5625e849f1ed92511b2da8e85d
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Jan 8 20:12:23 2017 +0100

    fix potential free-of-null
---
 src/nat/gnunet-service-nat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nat/gnunet-service-nat.c b/src/nat/gnunet-service-nat.c
index 7fa329b54..6ef0dce5e 100644
--- a/src/nat/gnunet-service-nat.c
+++ b/src/nat/gnunet-service-nat.c
@@ -1968,7 +1968,7 @@ client_disconnect_cb (void *cls,
     ch->ext_dns = NULL;
   }
   GNUNET_free_non_null (ch->hole_external);
-  GNUNET_free (ch->section_name);
+  GNUNET_free_non_null (ch->section_name);
   GNUNET_free (ch);
 }
 

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



reply via email to

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