ex-1: fix leak in meadian boostrapping
This commit is contained in:
parent
4c0b644513
commit
f0b37cad0b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user