[Top][All Lists]

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

[GNUnet-SVN] [gnunet] 01/02: need to strdup as this will be freed

From: gnunet
Subject: [GNUnet-SVN] [gnunet] 01/02: need to strdup as this will be freed
Date: Sat, 17 Dec 2016 08:18:19 +0100

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

grothoff pushed a commit to branch master
in repository gnunet.

commit 88c39e0eb9748da2d96b99342747f8270c52216a
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Dec 17 08:06:25 2016 +0100

    need to strdup as this will be freed
 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 10bfd07..235ca93 100644
--- a/src/nat/gnunet-service-nat.c
+++ b/src/nat/gnunet-service-nat.c
@@ -1399,7 +1399,7 @@ handle_autoconfig_request (void *cls,
-    ac->system_type = "UNKNOWN";
+    ac->system_type = GNUNET_strdup ("UNKNOWN");
   GNUNET_CONTAINER_DLL_insert (ac_head,

To stop receiving notification emails like this one, please contact

reply via email to

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