From c7df81667de9046ada75fbe15924a426d8b5d765 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 28 Feb 2017 16:53:19 +0100 Subject: [PATCH] set: zero out listener to make tracking down bug easier --- src/set/gnunet-service-set.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/set/gnunet-service-set.c b/src/set/gnunet-service-set.c index 30d43e8a1..3e6e0791a 100644 --- a/src/set/gnunet-service-set.c +++ b/src/set/gnunet-service-set.c @@ -233,6 +233,7 @@ listener_destroy (struct Listener *listener) GNUNET_CONTAINER_DLL_remove (listeners_head, listeners_tail, listener); + *listener = (struct Listener) { 0 }; GNUNET_free (listener); } -- 2.25.1