[CPUFREQ] fix double freeing in error path of pcc-cpufreq