aboutsummaryrefslogtreecommitdiff
path: root/src/hostlist
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-10-08 17:19:24 +0000
committerChristian Grothoff <christian@grothoff.org>2015-10-08 17:19:24 +0000
commit7d0a24c454adba00a9f90962fdf3bc54a07f5e7a (patch)
treefde77eb59d94b169aa3765cc352400e405ce4cf7 /src/hostlist
parentb910380795760d26a7cc38510c1f313bb1a72ea7 (diff)
downloadgnunet-7d0a24c454adba00a9f90962fdf3bc54a07f5e7a.tar.gz
gnunet-7d0a24c454adba00a9f90962fdf3bc54a07f5e7a.zip
-NULL builder on disconnect
Diffstat (limited to 'src/hostlist')
-rw-r--r--src/hostlist/gnunet-daemon-hostlist_server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist_server.c b/src/hostlist/gnunet-daemon-hostlist_server.c
index 5cc172bdc..fec79e5c8 100644
--- a/src/hostlist/gnunet-daemon-hostlist_server.c
+++ b/src/hostlist/gnunet-daemon-hostlist_server.c
@@ -238,6 +238,7 @@ host_processor (void *cls,
238 builder->pitr = NULL; 238 builder->pitr = NULL;
239 GNUNET_free_non_null (builder->data); 239 GNUNET_free_non_null (builder->data);
240 GNUNET_free (builder); 240 GNUNET_free (builder);
241 builder = NULL;
241 GNUNET_log (GNUNET_ERROR_TYPE_INFO, 242 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
242 _("Error in communication with PEERINFO service: %s\n"), 243 _("Error in communication with PEERINFO service: %s\n"),
243 err_msg); 244 err_msg);
@@ -955,6 +956,7 @@ GNUNET_HOSTLIST_server_stop ()
955 } 956 }
956 GNUNET_free_non_null (builder->data); 957 GNUNET_free_non_null (builder->data);
957 GNUNET_free (builder); 958 GNUNET_free (builder);
959 builder = NULL;
958 } 960 }
959 if (NULL != peerinfo) 961 if (NULL != peerinfo)
960 { 962 {