fix memory leak in cpufreq_stats&ext4