Skip to content
Commit d5bce867 authored by Srinivas Pandruvada's avatar Srinivas Pandruvada Committed by Eduardo Valentin
Browse files

Thermal/int340x: Fix memleak for aux trip



When thermal zone device register fails or on module exit, the memory
for aux_trip is not freed. This change fixes this issue.

Signed-off-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent 78045bfe
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