cpufreq: scpi: Fix use after free
Free the priv structure only after we are done using it. Fixes: 1690d8bb ("cpufreq: scpi/scmi: Fix freeing of dynamic OPPs") Signed-off-by: NVincent Stehlé <vincent.stehle@laposte.net> Cc: 4.20+ <stable@vger.kernel.org> # 4.20+ Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
Showing
想要评论请 注册 或 登录