Skip to content
Commit 36829306 authored by Pekka Enberg's avatar Pekka Enberg Committed by Dave Jones
Browse files

[CPUFREQ] Fix memory leaks in pcc_cpufreq_do_osc



If acpi_evaluate_object() function call doesn't fail, we must kfree()
output.buffer before returning from pcc_cpufreq_do_osc().

Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
Acked-by: default avatarDavid Rientjes <rientjes@google.com>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 86cf1474
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment