[PATCH 5.10 242/290] cpufreq: qcom-hw: fix dereferencing freed memory data