ex-1: fix leak in meadian boostrapping

This commit is contained in:
Michele Guerini Rocco 2020-04-06 08:32:40 +00:00
parent 4c0b644513
commit f0b37cad0b

View File

@ -140,6 +140,7 @@ uncert bootstrap_median(
median.s = gsl_stats_sd(values, 1, boots);
// free memory
gsl_rstat_free(w);
free(values);
return median;