From: Florian Dold Date: Tue, 28 Feb 2017 15:53:19 +0000 (+0100) Subject: set: zero out listener to make tracking down bug easier X-Git-Tag: taler-0.2.1~8^2~11 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c7df81667de9046ada75fbe15924a426d8b5d765;p=oweals%2Fgnunet.git set: zero out listener to make tracking down bug easier --- 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); }