From 93ca0372a0994370482c7efbdd15a7ddb309b0c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julius=20B=C3=BCnger?= Date: Sun, 25 Sep 2016 23:31:23 +0000 Subject: [PATCH] -fix rps service: call sampler_request_cancel () on destruction of handle --- src/rps/gnunet-service-rps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index 8df574d97..031997781 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c @@ -926,6 +926,7 @@ destroy_reply_cls (struct ReplyCls *rep_cls) cli_ctx = rep_cls->cli_ctx; GNUNET_assert (NULL != cli_ctx); + RPS_sampler_request_cancel (rep_cls->req_handle); GNUNET_CONTAINER_DLL_remove (cli_ctx->rep_cls_head, cli_ctx->rep_cls_tail, rep_cls); -- 2.25.1