diff options
Diffstat (limited to 'src/rps/gnunet-service-rps_sampler.c')
-rw-r--r-- | src/rps/gnunet-service-rps_sampler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rps/gnunet-service-rps_sampler.c b/src/rps/gnunet-service-rps_sampler.c index 95aabc21a..cfc5ce77b 100644 --- a/src/rps/gnunet-service-rps_sampler.c +++ b/src/rps/gnunet-service-rps_sampler.c | |||
@@ -327,7 +327,7 @@ sampler_resize (struct RPS_Sampler *sampler, unsigned int new_size) | |||
327 | "-%" PRIu32 ": %s", | 327 | "-%" PRIu32 ": %s", |
328 | i, | 328 | i, |
329 | sampler->sampler_elements[i]->file_name); | 329 | sampler->sampler_elements[i]->file_name); |
330 | GNUNET_free (sampler->sampler_elements[i]); | 330 | RPS_sampler_elem_destroy (sampler->sampler_elements[i]); |
331 | } | 331 | } |
332 | 332 | ||
333 | GNUNET_array_grow (sampler->sampler_elements, | 333 | GNUNET_array_grow (sampler->sampler_elements, |