aboutsummaryrefslogtreecommitdiff
path: root/src/rps
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2016-09-25 23:31:23 +0000
committerJulius Bünger <buenger@mytum.de>2016-09-25 23:31:23 +0000
commit93ca0372a0994370482c7efbdd15a7ddb309b0c5 (patch)
tree02f59c6e77f9237c0bec58fbfc5a795441b0a857 /src/rps
parentf251dba9caa2c822afac78248871b85aafe38f95 (diff)
downloadgnunet-93ca0372a0994370482c7efbdd15a7ddb309b0c5.tar.gz
gnunet-93ca0372a0994370482c7efbdd15a7ddb309b0c5.zip
-fix rps service: call sampler_request_cancel () on destruction of handle
Diffstat (limited to 'src/rps')
-rw-r--r--src/rps/gnunet-service-rps.c1
1 files changed, 1 insertions, 0 deletions
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)
926 926
927 cli_ctx = rep_cls->cli_ctx; 927 cli_ctx = rep_cls->cli_ctx;
928 GNUNET_assert (NULL != cli_ctx); 928 GNUNET_assert (NULL != cli_ctx);
929 RPS_sampler_request_cancel (rep_cls->req_handle);
929 GNUNET_CONTAINER_DLL_remove (cli_ctx->rep_cls_head, 930 GNUNET_CONTAINER_DLL_remove (cli_ctx->rep_cls_head,
930 cli_ctx->rep_cls_tail, 931 cli_ctx->rep_cls_tail,
931 rep_cls); 932 rep_cls);