Skip to content
Commit 48b45859 authored by Jing Xiangfeng's avatar Jing Xiangfeng Committed by Daniel Lezcano
Browse files

thermal: core: Adding missing nlmsg_free() in thermal_genl_sampling_temp()

thermal_genl_sampling_temp() misses to call nlmsg_free() in an error path.

Jump to out_free to fix it.

Fixes: 1ce50e7d

 ("thermal: core: genetlink support for events/cmd/sampling")
Signed-off-by: default avatarJing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200929082652.59876-1-jingxiangfeng@huawei.com
parent 5093402e
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