summaryrefslogtreecommitdiff
path: root/src/rps/gnunet-service-rps_sampler.c
diff options
context:
space:
mode:
authorJulius Bünger <buenger@mytum.de>2018-06-26 15:00:42 +0200
committerJulius Bünger <buenger@mytum.de>2018-06-26 15:00:42 +0200
commit8790a0dbeae9be48306661f9639931b6cb5d6632 (patch)
treef85df3c8100ed0b799da78ffc51e11c1a0801026 /src/rps/gnunet-service-rps_sampler.c
parent52b006735e61d184281b56094758ecdc7355ed84 (diff)
fix several memory leaks
Diffstat (limited to 'src/rps/gnunet-service-rps_sampler.c')
-rw-r--r--src/rps/gnunet-service-rps_sampler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rps/gnunet-service-rps_sampler.c b/src/rps/gnunet-service-rps_sampler.c
index 711d5be63..4d1ae4650 100644
--- a/src/rps/gnunet-service-rps_sampler.c
+++ b/src/rps/gnunet-service-rps_sampler.c
@@ -725,6 +725,7 @@ RPS_sampler_request_cancel (struct RPS_SamplerRequestHandle *req_handle)
}
GNUNET_free (i);
}
+ GNUNET_free (req_handle->ids);
GNUNET_CONTAINER_DLL_remove (req_handle->sampler->req_handle_head,
req_handle->sampler->req_handle_tail,
req_handle);