FREQUENCIES: Fix memory leak with percentiles and split file.