diff options
Diffstat (limited to 'src/rps/gnunet-service-rps.c')
-rw-r--r-- | src/rps/gnunet-service-rps.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index 7e032997e..1f9f7ba79 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c | |||
@@ -2993,6 +2993,7 @@ destroy_sub (struct Sub *sub) | |||
2993 | 2993 | ||
2994 | /* Disconnect from cadet */ | 2994 | /* Disconnect from cadet */ |
2995 | GNUNET_CADET_close_port (sub->cadet_port); | 2995 | GNUNET_CADET_close_port (sub->cadet_port); |
2996 | sub->cadet_port= NULL; | ||
2996 | 2997 | ||
2997 | /* Clean up data structures for peers */ | 2998 | /* Clean up data structures for peers */ |
2998 | RPS_sampler_destroy (sub->sampler); | 2999 | RPS_sampler_destroy (sub->sampler); |