From: Julius Bünger Date: Sun, 25 Sep 2016 23:31:23 +0000 (+0000) Subject: -fix rps service: call sampler_request_cancel () on destruction of handle X-Git-Tag: initial-import-from-subversion-38251~203 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=93ca0372a0994370482c7efbdd15a7ddb309b0c5;p=oweals%2Fgnunet.git -fix rps service: call sampler_request_cancel () on destruction of handle --- 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);