From: Julius Bünger Date: Tue, 3 Jul 2018 19:09:47 +0000 (+0200) Subject: fix rps profiler: mark handle unusable after closing it X-Git-Tag: v0.11.0~322^2~88^2~3^2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7940449e54a2716d69aed0fd01953ef6204b0229;p=oweals%2Fgnunet.git fix rps profiler: mark handle unusable after closing it --- diff --git a/src/rps/gnunet-rps-profiler.c b/src/rps/gnunet-rps-profiler.c index 54dc7d65e..f75f9794f 100644 --- a/src/rps/gnunet-rps-profiler.c +++ b/src/rps/gnunet-rps-profiler.c @@ -900,6 +900,7 @@ shutdown_op (void *cls) if (NULL != rps_peers[i].rps_handle) { GNUNET_RPS_disconnect (rps_peers[i].rps_handle); + rps_peers[i].rps_handle = NULL; } if (NULL != rps_peers[i].op) {